GAT2000's Q&A profile
Visual Studio Express Editions Generating Specific random numbers
IN MSVB6 there is an inbuilt variable called "rnd" which I use to produce random numbers. But VB Express doesn't seem to have this. I don't what you use to produce random numbers . So basically I want to produce a random number between 2 values. For example I want to produce a random number between 4 and 20 which could be 15,9,6, etc... Any idea how this can be done in VB Express Thanks in advance Some suggestions Dim objRand ...Show All
Windows Forms How can I load a DataSet into a List Collection?
Hi I have a Dataset with two tables and a relation between them. How can I load a Dataset with relation into a LIST<> collection I need code sample! Thanks, ...Show All
Visual Studio Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack
First, Thanks for any assistance I receive. I have a Dataset that I am using to populate a .CSV file and provide the ability for the end user to 'download' the resulting file. I am populating the dataset and populating a DataTable with it. I am then creating the Folder and File with the extension '.CSV'. I then populate the file row by row using a string. The file is in the correct location, format (.CSV) and properly populated at this point. ...Show All
Visual Studio Team System Distributed System template generates VB code
Hi Using VS 2005 Team Suite (release candidate version), I am able to create a new project using the Distributed System template. I can access the designer and manipulate the shapes etc.. My problem is when I use Implement All Applications to generate stub code for the solution, the code generated is always VB, even though my dev environment is configured for C#. Any ideas on how to get the designer to generate C# code Thanks, Carlo ...Show All
SQL Server Limit on length of file attachment expression?
I'm dynamically attaching some files to an email. I'm using an expression to build something similar to this: @[User::FilePath] + @[User::FileName1] + (DT_STR,30,1252)YEAR( GETDATE()) + (DT_STR,30,1252)MONTH( GETDATE()) + (DT_STR,30,1252)DAY( GETDATE()) + ".csv" + "|" + @[User::FilePath] + @[User::FileName2] + (DT_STR,30,1252)YEAR( GETDATE()) + (DT_STR,30,1252)MONTH( GETDATE()) + (DT_STR,30,1252)DAY( GETDATE()) + ".cs ...Show All
Software Development for Windows Vista windows vista 5308
i need help with windows vista i have probleme with internet connection "message:protected mode" when i open connection iget message that i am not connected but my connection is connected ...Show All
Visual Basic Solutions config. in Whidbey
In vb.net 05, the Solution Configurations and Solution Platforms dropdowns seem to have disabled themselves. They are grayed out, and I cannot use them to choose between debug and/or release modes. They used to work, and I didn't change anything. They just stopped working one day and that is where I am now. Any suggestions Matt Could you please check if you have enabled the "Show advanced build configurations" (Tools->Options->P ...Show All
.NET Development Concating Returned Values from a SqlDataReader using Column indexes
Hi all, I am using a objSqlCeDataReader to populate a ListView and am using column indexes to cycle through the objSqlCeDataReader when assigning them to sub items of the ListView. But, what I want to do is to truncate (concat) on of the columns data (the DataTime column) but am not sure how I catch this column in my code (to check what column I am at) so that I can truncate its returned data. The code I have so far is below... public static in ...Show All
.NET Development .Net market penetration?
this may not be the best forum for this, but having trouble finding it. We're considering .Net / C# for a next-gen Browster client app( www.browster.com ). So I need the Windows client market penetration numbers for .Net 1.1+ . What % of Windows machines out there now have .Net installed Anyone have curent info or know who/where to find it Such a query does not belon ...Show All
Visual Studio Express Editions export
ok how do i get microsoft vb 2005 .net to export my program with my icon on it so when i start it the exe looks like my icon. Open up your project. Now look in the Solution Explorer and click on the thing at the very top. (It will be the name of your project) Then, click the "Application" tab and the icon setting is the second combo box on the second row. ...Show All
Software Development for Windows Vista Problem with documentation
Hello, I am having problems with the documentation. There are a lot of dead links and when I click them I get a "todo" list. Is there any other better documentation available. Btw is it possible to use SDK+C# instead of SDK+C++ This question might actually sound dumb. I am planning to write some simple tools for IE7 and I assume I need to use the SDK for that. Like a search box at the bottom like what firefox has and stuff l ...Show All
Visual C++ How can I handle this error
Dear all , I couldn't handle this error like the code below. I know "strncpy" shouldn't pass the value -1 , but how could I debug this kind of error try { char test[20]; strncpy(test,"123",-1); //problem here -1 } catch(...) & ...Show All
Windows Forms Designer support for embedded components
Hello, I have written a control. This control has an embedded component property. Example: public MyComponent:Component { .. // some properties here } public class MyControl:Control { public MyComponent embedded { get{...} set{...} } } The problem ...Show All
Visual Studio Team System Can visual Studio 2005 work with vsts
Hi, One of our client is thinking to have VSTS on server. All the developers will have visual studio 2005 (NOT visual studio for developer within VSTS family). My question is can visual studio 2005 can connect to vsts server Can it make use of source safe available in VSTS Can it make use of other features within VSTS Or to use features of VSTS we should have visual studio for develoepr version within VSTS family -- Regards, MS Guy ...Show All
Visual C# Adding Button on Window Title bar
Hi, How do I add an extra button just next to the minimize button on the Window Title bar. There are infact couple of application where you have help ' ' button just next to the minimize/close button in the title bar. Example : System property dialog box in WinXP. ...Show All
