Software Development Network Logo
  • Game Technologies
  • Visual Basic
  • SQL Server
  • IE Development
  • Windows Forms
  • Windows Vista
  • Smart Devicet
  • SharePoint Products
  • .NET Development
  • Visual FoxPro
  • Microsoft ISV
  • VS Team System
  • Visual C++
  • Audio and Video
  • Visual C#

Software Development Network >> ylia's Q&A profile

ylia

Member List

DmitryMS
Ronie Rodriguez
jamil
Ranier
shimshon
TheMaj0r
King Nerd
smhaig
Flow84
bigove
hommer
Markus.Net
donWong
Piotr Ignaczak
norpe
ForEverLearning
domochan
Trevor2006
chronozphere
Williamq
Only Title

ylia's Q&A profile

  • .NET Development The new configuration design in 2.0

    Elsewhere I wrote, regarding putting an XmlDocument into the config file "surely, if anything, this ought to be easier than de/serializinging a binary object into XML and then saving it". I've read more and am pretty much concluding that in spite of the fact that this seems to make sense, the reality is the precise opposite - instead of being simple, it's actually impossible to directly place an XmlDocument/XmlNode into the config file. Which brings up a much larger question for the community at large regarding the design for this configuration stuff. Isn't all of this solely for the purpose of putting some arbitrary XML into app.config under a given application name And doesn't the framework already have great facilities for producing XM ...Show All

  • Visual Basic can I run command line parameters through VB code without creating and calling a batch file?

    I need to run the following arguments on the command line: cd c:\Program files\Microsoft SQL Server\90\Shared sac out server1.out -DE This will export the database engine settings from SQL server to a file called server1.out I know how to do this using a batch file and then calling it from VB using the shell command but I need to do it directly from VB instead, is this possible toddw07 wrote: I am using VB6 unfortunately. If you want to create a console application using VB6 .. here's a useful link http://www.xaprb.com/blog/2005/10/14/how-to-create-a-vb6-console-program/ It sounds like you probably just want to shell the command .. so maybe something along these lines is what you a ...Show All

  • SQL Server The media set has 2 media families but only 1 are provided. All members must be provided.

    I tried to restore database using following sql command RESTORE Database RALMYT FROM DISK = 'G:\RALMYT\RALMYT_20060523_3.3.0.0.42_stripped.BAK' but i got this error Msg 3132, Level 16, State 1, Line 1 The media set has 2 media families but only 1 are provided. All members must be provided. Msg 3013, Level 16, State 1, Line 1 RESTORE DATABASE is terminating abnormally. when i run the RESTORE FILELISTONLY FROM DISK = 'G:\RALMYT\RALMYT_20060523_3.3.0.0.42_stripped.BAK' command i can see these data and log files RALMYT_Data RALMYT_Data_02 RALMYT_Data_03 RALMYT_Data_04 RALMYT_Log RALMYT_Log_1 what would be the error please help me RESTORE Database RALMYT FROM ...Show All

  • SQL Server Master and SubReports

    Hi All, I am new to Rs2005. I have 4 seperate reports, r1, r2, r3, r4,.....etc. I want these reports to be called in sequence in a Master report. I want to make all 4 reports 1 big report. Can this be done, and if so can somebody please point me in the correct direction. Many Thanks in advance. Kenny   Hi, I have now managed to display my 4 reports within a master report. But i am faced with another problem. Each SubReport has its own page header and page footer. But when i run the master report, the master header and footer is displayed on each page instead of the the subReports header or footer. Is there a way to display each of the subReports header independenlty of the master Hea ...Show All

  • .NET Development Extended MAPI help for Accessing remote Exchange

    Hi, I have a remote exchange 2000 server in my domain which i want to query from my local machine. I am using Extended MAPI in C# (i got a wrapper class). I want to access all mailboxes on that server and retrieve their attributes ( PR_LAST_LOGON_TIME) 1) I believe that the way to do is : MAPI.LogonEx(IntPtr.Zero, null , null , MAPI.FLAGS.Extended | MAPI.FLAGS.LogonUI | MAPI.FLAGS.NewSession | MAPI.FLAGS.ExplicitProfile, out session); and the other concern is to use the GetMailBox table. Now I am not aware as to how to supply the Exchange server DN to this method ( I cant seem to locate the hrGetServerDN method). I tried doing : GetMailboxTable("/cn=Configuration/cn=Servers/cn=mydomain.net", out mailboxTabl ...Show All

  • Visual C# check valid path

    Is there away to check a valid DOS path in c# ex: if the user types zzz:\test.txt and the path is invalid, return error message.   using VS2003 .NET1.1   Thank you, using File.Exists to check path validiy is a wrong idea and should never be used. It says MSDN here: http://msdn2.microsoft.com/en-us/library/system.io.file.exists.aspx See Under Remarks heading. You can use System.Text.RegularExpression.Regex class to do this but for that you need a Regex string which i belive can be easily found through google. Try something like this File path Regex, Path Regex etc. You'll need to write code like this: Regex fileRegex = new Regex(regexStringHere); Match mat ...Show All

  • Visual Studio Express Editions C# Tutorials

    Why are the C# tutorials on this page: http://msdn.microsoft.com/vstudio/express/visualCSharp/learning/ actually tutorials for Visual Basic. Also, you can look at C# recommended book thread if there is anything you want: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=849534&SiteID=1 Hope it helps. ...Show All

  • Visual C# Why is not OK to pass in a Collection<int> parameter in a Web method?

    Hello there. I have a web service that contains the following web method: using System.Collections.ObjectModel; ... [ WebMethod ] public void GetUsers( Collection < int > userIds) { // Do something here } Now, I have a Windows client that web references the above web service and consumes the web method: using System.Collections.ObjectModel; ... private void GetUsersData( ) { Collection < int > myUserIds = new Collection < int >(); myUserIds.Add(1); myUserIds.Add(2); myUserIds.Add(3); myUserIds.Add(4); myUserIds.Add(5); localhost. Service myService = localhost. Service(); myService.GetUser(myUserIds); // Problem here!!! } The ...Show All

  • Visual Studio Team System Wiki capability?

    We've been using an internal wiki for an ad-hoc collaboration system, and we really like the ease with which we're able to add content, and expand the site. Is there a "wiki" like capability to the VSTS I've looked over the "project portal" topics, and it seems to be strongly bound to the project, but I'm not seeing a location for general multiproject and non project related materials. Any feedback on this topic would be appreciated! Thanks Martin, I could certainly have phrased my question better! Now that I re-visited it. This is actually the kind of information that I'm looking for. We too have started down the wiki path for our product group here. (only a few months into it). We find tha ...Show All

  • Software Development for Windows Vista Activity Queues in Parallel

    I have a custom activity that sets up and uses activity queues I want to place two or more instances of this custom activity on a work flow in parallel to each other I have my host using logic to decide what queue to send to but the work flow waits untill i send something to all the queues on the parallel activity I want the work flow to continue executing after only one of the activitie's queue was written to in a manner similar to using handleexternalevent activity on a listen activity my system is deciding at run time what "logical port" to send the data to on the workflow and the others should be ignored. Sort of like biztalk's input ports that are bound to receivers outside of the orchestration Any ideas ...Show All

  • Visual Studio Tools for Office Layout Of Dynamic Controls In Outlook 2007

    i am populating an outlook 2007 form region with controls dynamically depending upon values in a database. so for example i might want this layout: Custom Field Name 1: [TEXTBOX] Custom Field Name 2: [CHECKBOX] at the moment i am using the Left properties but i am having a hard time lining things up to my satisfaction. is there a better way for me to line up these dynamic controls that i am missing thanks. There are a couple of different approaches to the layout of controls on a form region. By default Outlook attempts to automatically adjust the layout of controls using automatic layout. However, controls added dynamically to the form can be difficult to have them lay out as you expect. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Vertex Animation help

    Hi, I'd like to do some simple vertex animation on a model using a vertex shader, but I'm having an extremely difficult and frustrating time figuring this out. I've been looking at the content pipeline documentation, I've found the tutorial about the BBox processor and done that a couple times, I've written a C# converter for a custom mesh format I have to X and still I can't work out how to accomplish this. I guess conceptually I understand how the content pipeline works. I ran the X processor DLL that ships with XNA through reflector and just about had a nervous breakdown looking at all the classes in there. I write geometry exporters, importers, and deformers for Maya at my day job, so I like to think I should be able to do this, ...Show All

  • Smart Device Development DLL questions in the compact framework.

    I haven't done much with libraries outide of .NET so please help me out here.. Where can I find information about using an MFC dll in .NET Also, can I use an MFC dll in the CF (one that was not designed for a mobile device) My main problem is that I have a dll that handles our user list and security that was written in unmanaged MFC. I need to use this library in an application that runs on windowsCE. Can you tell me if this is possible.. and possibly a few links to the information I need to research to do this. Thanks, Alan It is not possible to use MFC library from CF directly. You will have to create a wrapper DLL that exposes the MFC library as exported methods and then you can ...Show All

  • SQL Server im going crazy

    I just got bought a used computer, and Im trying to change the server name, I've changed the computer name and restarted the computer, I've also used query analyser and changed the server name, but when I try run an c# appication that connects to a sql database I get a server does not exist/access denied error message. when I go to enterprise manager and server service manager the server name still comes up as PICARD\HOMESQL obvuiusly I cant use a "\" in the connection string of my windows application. does anybody know how I can change the server name to PETER. thanks in advance Hi, try using "server=MARCUS\\HomeSQL; database=Northwind; integrated security=sspi;")] OR @&qu ...Show All

  • Visual Basic Hard Disk Serial Number

    hi. i want 2 know that ,is there anyway to get hard disk serial number(Hard Disk , not Hard Drives) without using WMI. plz forgive me for my bad english go0d luCk Special thnx to all of you for your helps tnx Simao for your help that was very useful . Go0d LuCk ...Show All

©2008 Software Development Network