George D's Q&A profile
Visual FoxPro Clearing a cursor
I am working with a cursor that I use to import XML information to. When I am done with the XML information, I want to clear the cursor for other input from the same area; however, I am unsure as how to go about this. Any ideas If it's not readwrite first make readwrite then: zap Is there a reason you're not simply calling your "import" routine again (in other words couldn't clearly understand what you're doing) ...Show All
Visual Basic How do I solve TargetInvocationException problem with WebClient in Visual Basic 2005?
Hello, I've created a small programme which downloads file over web using the WebClient interface. I've added 2 handlers to the to the webclient, one for the download progress and the other for the download completed. Sample code: Private Sub DownloadAsync( ByVal URL As String ) Dim wc As New WebClient() Dim dpc As DownloadProgressChangedEventHandler AddHandler wc.DownloadProgressChanged, dpc Dim ac As ...Show All
.NET Development regular expression or other method?
if i have this sentence, how can i use regex or other method to get the value i want For example, i need to get the value 2months,3.10, 3months,3,20 <TD BGCOLOR=#FFFFFF> 2 Months </TD><TD BGCOLOR=#FFFFFF ALIGN=CENTER> 3.10 </TD></FONT></TR> <TR><font face="Verdana, Arial, Helvetica, sans-serif" size=2><TD BGCOLOR=#FFCCCC> 3 Months </TD><TD BGCOLOR=#FFCCCC ALIGN=CENTER> 3.20 ...Show All
Visual Studio Cannot exclude files from SourceSafe
I have a web service that needs project references to other projects contained in the same solution. The web service creates a Bin folder and puts the .pdb and .dll files in there. The entire solution is under (integrated) source control. I cannot get Visual Studio to let me exclude this Bin folder or any of the files under it from source control. I do not want to store the compiled binaries in SourceSafe. How can I exclude these files or this ...Show All
.NET Development Automatically detect a CD and read CD contents
Hello all, I am trying to make a module which will do two jobs: 1. Automatically runs when a CD is inserted into the cd rom drive. 2.copies the contents on CD to any location on hard disk. I am usng C#.net 2003. Anyone please help me! Thanks http://msdn.microsoft.com/library/default.asp url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_intro.asp http://msdn ...Show All
Visual C# byte[] writing and byte[] reading
hi, i have a problem i have this 3 bytes byte [] data = new byte [5]; data = Encoding.ASCII.GetBytes("12345"); byte [] data2 = new byte [5]; data2 = Encoding.ASCII.GetBytes("kpld2"); byte [] data3 = new byte [5]; data3 = Encoding.ASCII.GetBytes("35156"); i want to create a new byte like this: byte [] master = new byte [15]; and the problem i ...Show All
Visual C++ error LNK2001: unresolved external symbol "struct ....."
Hi, any help with this problem would be greatly appreciated. I have three files in a project using visual c++ 6.0. One is a library file with the following code: typedef struct gl_Mesh { int nVerts; float *Vertices; int nFaces; int *Faces; int nTcoords; float *Tcoords; int nTfaces; &nbs ...Show All
Windows Forms What happened to the Tarrarium Forum?
Where are all the posts of the previous Terrarium Forum Obviously, they weren't imported to the new CommunityServer Forum The posts have been imported into this new forum. The "Posted By" attribute was changed to "WinFormsUser" during the migration process. Searching for "Terrarium" returns approx. 700 posts. ...Show All
Visual Basic Disabled the TabControl tabpages
I have a problem on how to disabled one of my tabpages in my tabcontrol. I have 5 tabpages, and I want to disable one of it. How can I perform this action. Can u pls help me my fellows:( After searching for some time, i can't find a way to disable a specific tab page. (Using tab control in VB2005). Best i could come up with was to trap the SelectedIndex_Change event of the tab control, and switch ba ...Show All
Visual Studio Express Editions Publishing error
------------------ Error 1 Unable to find manifest signing certificate in the certificate store. ------------------ ... comes when i try to publish my application, i uncheck the signing box, but when i get the error then the signing box is cheked again... What's wrong PFX File (Personal Information Exchange) Create with a freeware or shareware program named PadGen. Can't remember where I d ...Show All
.NET Development Bug HtmlInputRadioButton ???
drop an HtmlInputRadioButton on a blank page. Set runat=server set checked=checked the following asp html code is generated: < input id ="Radio1" type ="radio" checked ="checked" runat "server"/> browse the form. the following error occurs Parser Error Message: Cannot create an object of type 'System.Boolean' from its string representation 'checked' for the 'Checked' property. change the html to ...Show All
Windows Forms Checkbox always returns false
I creadted a windows application that has several checkboxes on the main form. When this application is run as a windows app it works fine. When the application is compiled to a class library for external applications to call the check boxes always return the checked value as false weather they have been checked or not. The application fires the CheckedChanged event but the value of checked is always false. How do I get the checkboxes to return ...Show All
Windows Forms Performance question: Arrays vs. Public Variables
I have come across a few situations where I face the option of either (1) creating a public shared variable and passing this to another called procedure or (2) iterating through an array of records within the called procedure to retrieve the piece of data. Which would be the more efficient approach in terms of speed and memory (Assume (1) the arrays in question usually contain less than 100 records each and (2) the variables would need to remai ...Show All
Visual Studio Express Editions Can't download Express registration benefits
Hi everyone. I'm trying to access the free downloads that come with registration, but I only see the Web Developer downloads listed. I don't see the icons, components, or book that come with C#. I assume they would all be listed on one page, but they aren't there. How can I find them Thanks, John Salerno P.S. I don't understand how to download what *is* there either. The link to the Web Developer book says it's a pdf, but when you download it ...Show All
Visual C++ Need Hierarchy chart for VC++ 2005
Hi, Can anybody tell me where can I find Hierarchy chart for VC++ 2005 Thanx ManuLi Hi, Thanks for your response. As I am working in MFC, I am looking out for MFC. If I could also get ATL etc. it will be good for my knowledge. Thanx ...Show All
