manish_11's Q&A profile
Visual Studio Express Editions how to run an individual cpp file in a project?
hi, how to compile and run an individual cpp file in a project, in which there are other cpp files containing main(). the "debug->start (without) debugging" option seems used to run the whole project. Thanks Yu It's a bit unusual to compile and run individual files but you may be able to achieve something like that by using configurations. You can create a custom configuration based on the default configurations (Debug/Release) (see Build menu, Configuration Manager) and then you can exclude files from build on a configuration basis. To exclude a file from build right click t ...Show All
.NET Development ASP.NET:ControlParameter+WebZone+WebUserControl+Wizard combination does not Work
I have a user control containing 2 drop downs. Drop down A is a list of Sites. [AutoPostBack is ON] Drop down B is a list of Area's within the selected Site from Drop down A. Drop down B's datasource uses a ControlParameter to utilise the value from Drop Down A to retrieve the contents of Drop Down B - the list of areas. The above forms step 1 of a Wizard. Step 2 is just 2 SLE's for entering dates. These controls are in a UserControl so that I can reuse them. Pretty standard stuff. The UserControl Works fine if placed on a Web-Page on it's own. The User Control Works fine if placed inside another User Control which is placed on a Web Page ...Show All
.NET Development Populating Combo Boxes from a txt file?
I am building an application that has several tabs that in turn has many controls on it. I am wanting to deploy txt files that will populate the combo boxes with the application. Thus if the combox box list needs to change it could be done by updating the txt files. My idea now is to have the txt file contain the name of the combo box and the items associated with that combo box listed directly underneath. The problem is that I can't reference these combo boxes by the name, but only by the index. But for ease of administrating these updates I would like to use the name instead of the index, and I think it would ...Show All
Visual Studio welcome
Jobby wrote: Thank you Thanks you... ...Show All
Smart Device Development Search bluetooth devices and pair them programmatically
Hi All, I am developing VB.Net smart client application for Pocket PC 2003. Here its required to connect my Pocket PC with GPS Device (TomTom Navigator) on BlueTooth Port. Everything is working nice enough except I have to create pair between my Pocket PC and GPS Device manually. What i want is my program should automatically search GPS device, It must create pair between them. Other than this, My application is already working fine. Any class library or sample code. doesn't matter if its in C# or any other language of .Net. Thanks in advance. Hi Barry Thanks for your help. Actually OpenNetCF didn't work for me. I have used its lat ...Show All
Software Development for Windows Vista Getting audio files' extended attributes
Hi everyone... I hope I'm posting in the right forum for this question. I origianlly posted this in the VB.NET development forum, as that's the platform I'm using (original post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=230192&SiteID=1). But it's really a Windows API question... I have a couple of applications that find all the .WAV and .MP3 files in a folder (and its subfolders), reads their headers, and reports their sample rates, lengths, and number of channels. They run on XP and 2003 Server. I'd like to extend this to .WMA and .AIF files, and I'm starting to think that an easier way of accom ...Show All
.NET Development LocalEndPoint of underlying socket
Hi, If I bind a socket to IPAddress.Any, and accept a client connection, is there a means of identifying the actual IP address that the client connected to I would have thought that LocalEndPoint of the underlying socket would hold this, but it seems to be null. Code snippet below. Many thanks, Robert. [...] void sockStart() { Socket s = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); s.Bind(new IPEndPoint(IPAddress.Any, port)); s.Listen(100); while (!shuttingDown) { allDone.Reset(); s.BeginAccept(new AsyncCallback(this.AcceptCallback), s); allDone.WaitOne(); } s.Close(); } ...Show All
Visual Studio Team System xsl file access error / no unc paths
hi there! I hope somebody could help me. I am using fxcop 1.32 / windows xp sp1 / .net 1.xx and use a simple fxcop project file. In the project options the standard xsl file is linked: c:\program files\microsoft fxcop 1.32\xml\fxcopreport.xsl. Now I saved the report file on a network drive and tried to watch it in iexplorer. I got this error: XML site can not be shown.....access error: Zugriff verweigert Fehler beim Bearbeiten der Ressource 'file:///c:/program files/microsoft fxcop 1.32/Xml/FxCopReport.Xsl'. if i copy the xsl file on my local drive it works fine....(this is not my target) I also tried to ...Show All
Visual Studio Team System Need help regarding anonymous methods
Hi, I am creating a rule which checks for Class level variables, method level variables and method parameters. I know that for anonymous methods the nested class is generated by the compiler. But for the following anonymous method no nested class is generated but compiler creates a static method is generated // Create a delegate instance delegate void Del ( int x); // Instantiate the delegate using an anonymous method Del d = delegate ( int derive_one) { /* ... */ }; The compiler creates a static method for such an anonymous method which has some compiler generated comp ...Show All
Visual Basic New Line in Text File
Hello Community I have a simple question. I created a new Text File like this: My .Computer.FileSystem.WriteAllText( "C:\test.txt" , "test //now should come a new line// test2 " , False ) Now how can I insert a new Line into that text, so that the text File looks like the following: test test2 THX for help. Kyle Katarn Sorry for my bad English:-) My .Computer.FileSystem.WriteAllText( "test.txt" , "Test" & vbNewLine & "Test2" , False ) HTH, ...Show All
Visual Basic converting datetimepicker value
i had a datetimepicker named dtpBirthDate, and want to use this as a meduim for obtaining birthdate of a user, what i want to happen exactly is upon choosing the date, three(3) textboxes namely, tboxYears, tboxMonths,tboxDays would be fill up by the number of years,months,and days the user was. here's the code: Private Sub dtpBirthDate_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dtpBirthDate.ValueChanged Dim dtpReg As DateTime = Me.dtpRegDate.Value Dim tStart As DateTime = Me.dtpBirthDate.Value Dim tFinish As DateTime = dtpReg Dim TotalTime As TimeSpan = tFinish.Subtract( ...Show All
SQL Server XMLDP documentation?
Does anyone know where there is documentation on XMLDP and the query syntax necessary to process XML data sources in reports Have a look here: http://msdn2.microsoft.com/en-us/library/ms345251(SQL.90).aspx ...Show All
SQL Server ss Management studio color coding problem
I recently installed sql server management studio and for some reason something has gone wrong with the color coding word list. Some keywordt that should be highlighted are now regarded as plain text. Since I am used to these words being highlighted I have the feeling they are misspelled. This is really annoying. Does anyone know how to solve this problem I already tried to uninstall and reinstall. Thanks for the help. Marco Perreau Yes, some keywords such as "varchar" or "dump" are not highlighted though they are reserved and can't be used without brackets or quotes i ...Show All
.NET Development .NET remoting error:
I have a little asp.net application. I'm trying to get .net remoting working. But Im getting this error: Server encountered an internal error. To get more info turn on customErrors in the server's config file. I need to know how to get the specific error I have turned on CustomErrors: <customErrors mode="On" /> But still I get this error please help Also sometimes, when I run my remote code from one end i.e. from myMachine/myApp to server1/myApp (sending serialzed data and such over TCP/IP) it works fine, no probs but going backwards using the same EXACT code i.e. from server1/myAp ...Show All
System Center FE and BH
I would like to know how can we see if the box is performing a role of a FE or a BH server. There are various ways to see the role(s) that a server is running. In the Model Editor, in the site topology view, hover over the server icon. The tooltip includes various information for the configuration of the server including the server hardware configuration and roles that is running. If you prefer a list of server roles you can try the Model Editor, Model Summary view. You can also export the configuration of the servers (including roles) in an EXCEL spreadsheet using the File/Export/Excel Summary Report ...Show All
