eddiemcdaniel10's Q&A profile
Visual Studio Express Editions Serial communications outputting and receiving one byte of data.....
Okay, I am on deadline here.... 3 days... and for the last 2 weeks I have been trying to find the answer. Apparently there is no easy way to use a serial ports in VB2005 express... Most of the code I have found is for the .net version. It really doesn't port well. I have gone through and for the most part changed what needed to be changed. No Luck.... With the code written below that was copied and I duplicated the form to match the text, co ...Show All
.NET Development Bug in VS2005 Custom Tool (XSDs) or VS2003 conversion problem
I'm trying to convert an application from VS2003 to VS2005. My latest problem involves xsd files (dataset specifications). None of my VS2003 xsd files compiles within 2005. I get a similar error for each: Error 2 Custom tool error: Value cannot be null. Parameter name: ServiceProvider C:\Documents and Settings\user\My Documents\Visual Studio 2005\Projects\EDS C2 R13d (Perf fix DM)\PCIU_Projects\Main\SupportingData.xsd 1 ...Show All
Visual Basic Socket Encoding and Decoding using Ascii Encoding
Hi All fairly new to VB .Net and have been trying to port code from vb6. I have picked up the sample application for sockets and my problem is I have a string which come come in with binary data packed as bytes i.e 10101010101001 and the bytes would appear as .>D.... .. .B..." compressed bitmap. It would now appear that I cannot see the full string I have some characters missing and when I read through the data and build a response I can ...Show All
Visual Studio help on developing VSS provider
Hi, I just got assigned to write a Volume Shadow Copying Service (VSS) Provider for my company's iSCSI target device. May I ask someone there give me a jump start I don't know what's the tool I should use to develop the VSS Provider. I installed Windows Server 2003, and Visual Studio 6.0 just now after downloaded the VSS SDK from Microsoft site. Anything else I should install Any hint and advice please! Thanks, Ken Hi Ken, I think you're p ...Show All
Windows Forms Problem adding items to combo box
Hello. In asp.net I can add items to a dropdownlist like ddlStuff.Items.Add(new ListItem(<name>,<value>)) But I can't seem to find a way to do this in WinForms. I am using a data reader and iterating through the query and adding one item at ...Show All
SQL Server Auto update statistics
In SQL 2000 is there a way of changing the threshold that auto updating of statistics kicks in Currently I am working with a db where the stats are becoming extremely poor after a day (as no automatic stats update is taking place) and the length of time a stored proc takes to compile and run goes from about 5 mins to around 120 mins. An update stats fixes the problem. Thanks. Have you figured out your issu ...Show All
Visual Basic How do I move menuitems around?
I could swear it worked by drag and drop a few days ago but now I can't get it do do anything thru drag and drop other than change the order. I have a Reports menuitems and I want to drag several other menuitems that are under the same menu down under the reports item. So just the list that it is on If I have a crystal reports top menu and a claims top menu I can't drag an item from one to the other Only up and d ...Show All
.NET Development Hosting Windows forms in COM containers
Hello, Does Microsoft support hosting of managed controls in unmanaged applications (ex Delphi 5) Thanks Ada Basically only Internet Explorer and MFC apps. See ActiveX control containers that support .NET controls http://support.microsoft.com/ kbid=311334 ...Show All
Windows Forms Can a DataViewGrid have a RadioButton-like setup?
We have a DataGridView of items to be inserted into a Mail merge document. Users can select only one - but we wanted to make the selection clear and easy. We used the CheckBoxes (very clear, very easy) for this and set MultiSelect to false. This did not work. Any suggestions Thanks in advance for your help, Jerry Nixon Acceptable, but not as elegant as I was hoping for. Thank you. Do you want to post sample code or was this just f ...Show All
SQL Server Release database lock
Actually I'd like to know how I got the lock and then you can tell me how to release it. Here's the problem (this is sql server 2000 with visual studio 2005) I have a windows service that wakes up every 5 minutes and does some database work (reads rows from a table, process them, inserts them into another table). When the inserts are complete, the process should (I would think) release the database lock, but it doesn't. The database is access ...Show All
Visual FoxPro How to view all code used in a form and its controls.
Hi I would like to be able to view all of the associated code used in a form and its controls contained within it. This is how VB shows your code. Now I have to select each object and then the event to see the code for each section. I did this by accident before and cannot seem to figure out how I did it again. Please advise me on how to do this. Thank You Rob Rob, Use the class browser to open the ...Show All
Software Development for Windows Vista StateMachineWorkflowInstance.StateMachineWorkflow.StatusChanged Event does not fire.
I am using the "StateMachineWorkflowInstance" class in the namespace: "System.Workflow.Activities", new in Beta 2 of the Windows Workflow Foundation. I want to subscribe to the event: "StatusChanged" but it does not fire. I am using the following code: /// <summary> /// /// </summary> /// <returns></returns> private Guid StartOrderWorkflow() { // Create a new GUID ...Show All
Smart Device Development Can't find project template Smartphone Magneto
Folks, I just installed VS 2005 Beta and Pocket PC SDK 5.0 along with Smartphone SDK 5.0 but when I try to create a new Project for Smartphone I do not find those options. Should I be doing something else I refered to this document http://msdn.microsoft.com/library/default.asp url=/library/en-us/dntake/html/yctiwy_wm5.asp but seems like I did everything it says. Any help Regards, Udaypal Aarkoti Are you using Beta 2 of Vs 2005 this ...Show All
Visual Basic two dimensional array questions
Hello: I am working with a 2 dimensional array of strings. It seems that you cannot use redim preserve to change the left element of a 2 dimensional array. Does that mean I have to declare the array with the actual size, i.e. myarray(1000,1) If so, is there a way to trim off the unused elements at the end of my procedure If I do this declaration (with the total size of the array), what is the function to show the actual num ...Show All
SQL Server SQL Server 2005 Reporting Serivces: XML Datasource problem
Hi, I'm just starting to use SQL Server 2005 Reporting services, and need to use an XMLdocument as the datasource. I will get the xml data from a webservice and then need to bind it to the report. Here is what I am doing: 1. I created a webservice at the following location: http://localhost/myWebDirectory/myService.asmx . this webservice has a method called " GetXMLDocument" that has 1 parameter (sql). This method uses the sql st ...Show All
