prad_kav's Q&A profile
Visual Studio Express Editions form not response in loop
hi, i'm newly started programing in visual basic. my application is running but in running time my form is not response. For Example <block_from_source> Dim procInfo As New ProcessStartInfo With procInfo .FileName = "xcopy" .Arguments = " c:\testfolder /s /h d:\backup " .RedirectStandardOutput = True .RedirectStandardInput = True .UseShellExecute = False .CreateNoWindow = True End With Dim proc As Process = Process.Start(procInfo) Dim str As String = proc.StandardOutput.ReadToEnd proc.WaitForExit() </block_from_source> if my testfolder size is big (200 - 300 mb.) then my application is running but not response. i'm check BackgroundWorker but don ...Show All
Visual Studio Team System does microsoft team foundation server require visual studio team system?
we currently have visual studio professional edition (not team edition) and vss. if we were to purchase microsoft team foundation server, do we need to upgrade our studio version to get full benefit what are the benefit differences between visual studio professional vs. team when using the foundation server secondly, can someone point me towards VSS to VSTS migration information thanks, jason meketa progarmmer/analyst webtrends Hi, If you plan to use Team Build you will require Visual Studio Team System Developer or Tester Edition of the software be installed on the machine you select to be the build server. VSS => TFS try this MSDN article Wes ...Show All
Visual Studio Team System Dropdown box value Validation query
Hi, I have a dropdown box box with the following code <select name="ctl00$ContentPlaceHolderBody$DropDownListEventType" onchange="setflag();setTimeout('__doPostBack(\'ctl00$ContentPlaceHolderBody$DropDownListEventType\',\'\')', 0)" id="ctl00_ContentPlaceHolderBody_DropDownListEventType" style="width:250px;"> <option value="15">Assessment: Superday</option> <option value="14">Assessment: Superday1</option> </select> I want to validate whether the dropdown value is "Assessment: Superday". I have entered Form Field Name with "ctl00$ContentPlaceHolderBody$DropDownListEventType" and value with "Assessment ...Show All
Visual Studio Team System MDX Query for Number of bugs found and fixed in each build
Hi All, I am trying to create a chart which displays the number of workitems/Bugs which have been opened and fixed in each build. So on the X axis, display the build numbers, and on the Y axis display the number of bugs opened and resolved. I have been able to create the charts separately - ie bugs opened (FoundIn.build) each build, and in a separate report resolved (using Integrated.build). But I can't seem to find a way to combine the two into one chart. If I was in SQL, I think could do a cross tab query to return all the build numbers, then the number of bugs opened and bugs resolved for each build. How do I do the equivalent in MDX Could I do this using calculated members I tried the following query and this returns the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. select sound device
how can i select a sound device to play sound on is it by direct sound or win32 how please help me ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Storing the graphical output of an ActiveX object?
I'm hoping to write a DirectX project that can have a flash animation playing on the surface of a polygon... (it would ideally be real-time flash, for the sake of interactivity.) Is there any way to tell an ActiveX object to render its output to a buffer instead of right to the screen (or to access the location of the final 'mixdown' of a window's contents somehow ) I'm still very new to ActiveX, so I'm not sure how plausible this is... Thanks! ...Show All
Visual Studio Express Editions Using OdbcDataAdapter in vb2005
Two questions; The following code works to import an excell file into a datagridview in VB2005 express. ConnectionString = "Driver={Microsoft Excel Driver (*.xls)};DriverId=790;Dbq=c:\test.xls;" Dim Con As New OdbcConnection(ConnectionString) Dim Adapter As New OdbcDataAdapter("SELECT * FROM [test$]", Con) Dim Ds As New DataSet Try Con.Open() Adapter.Fill(Ds, "Sheet1") Catch Err As Exception MessageBox.Show(Err.ToString()) Finally Con.Close() End Try Datagridview1.DataSource = Ds.Tables("Sheet1") 1. I was looking for a way to find the names of the data sheets in the file (sheet1,sheet2,etc) and put them in a listbox so t ...Show All
Windows Forms Sort columns in datagridview
Hi all. Does anyone know how to sort the order of columns in a datagridview. My datagridview is using a datatable as datasource. This datatable contains columns "A","B","C","D". I want my datagrid to display the columns in another order. I Want column1 = "B", column2 = "C", column3 = "A". Anyone Lars This only works sometime. If column nr 2 in the datatable shoud have a displayindex = 1 a run-time error occurs. I can understand this. I am using this function on "ColumnAdded". Is that wrong. Shold i do this some where else Another funny thing is that the event "ColumnAdded" runs 2 time for each column i the datatable whi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Reading the buttons of Joystick Saitek x52
Hi all, Did anybody come across a C# sample that relates to Saitek X52 I have found some generic Joystick samples which help me read the buttons EXCEPT the Mode button. The GetButtons() function returns the codes of the pressed buttons, but I cannot get the status of the Mode button out. I just spoke to Saitek support - No .NET samples whatsoever. Any tips will be appreciated. Best Moni. Does the mode button show up on the DirectInput setup wizard in the control panel You can test all the buttons in there. If it does NOT then this means the driver does not expose it and no DirectInput application could read it, managed or native. ...Show All
Visual Studio VSS2005 crashes several times a day
Hi, Visual Sourcesafe 2005 is crashing repeatedly for me at these places: Faulting application ssexp.exe, version 8.0.50727.42, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x000122ba. Faulting application ssexp.exe, version 8.0.50727.42, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x000111de. Faulting application ssexp.exe, version 8.0.50727.42, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x0003426d. Faulting application ssexp.exe, version 8.0.50727.42, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x00043345. All of these seem to happen if I scroll/click the mouse immediately after performing DIFFs. I think all of the crashes are caused by the same bug so I'm ho ...Show All
.NET Development Best way to get a month index from a string. ("Mar" = 3)
I have created a system to do this, but I surmise that my way is the long way of doing it and think that there must be a better way...so I present this request to the group. Good snag! The only thing I would add is to allow the user to pass in a larger string so a format error will not be thrown, (Jan | January) : public static int GetMonthNumber( string Month ) { return DateTime.ParseExact( Month.Substring(0, 3) , "MMM", System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat).Month; } Thanks to everyone for their suggestions! ...Show All
Visual Studio Reports
Hi! How can I made the query parameters of my dataset be set as report parameters I have a report (*.rdl) that calls a dataset that have a query parameter (@param1) And I have the report in the report server. But it displays an error because it doesn't find the declaration of the variable (@param1). I think the solution is to put the query parameter as a report parameter... but How do I pass it to the dataset (*.xsd) Please help me! If the explanation of my problem is horrible please contact me and I will try to explain it better.... :) 1. Build dataset like: "select field1, field2 from table where field3=@param1" 2. ReportViewer control is connected to ObjectDataSource. Obj ...Show All
Visual Studio Express Editions Broken BITS
I've been trying to install Visual Basic Express. When the installer attempts to download the installation files it gives the following error: Required Prerequisites ---------------------------------------- BITS Service BITS serice must be enabes before you start the installation process. Enable the BITS service and run setup again. For troubleshooting tips, see Download Troubleshoot Guide. ---------------------------------------- When I tried to enable and start he service manually, the BITS service doesn't show up in the Services list. When I tried to install the service using update KB842773, I get this error: "Setup has detected that the Service Pack version of this system is newer than the update you are applying." Does any ...Show All
Visual C# Thread/GUI communication
Hi! I apologise for the cross-post some days ago. I have been using C# for a while and am having trouble coming up with a good model for GUI interaction. In most programs I write I need to spawn new threads because I find that networking code is unrealiable otherwise. Those threads need to check InvokeRequired and Invoke controls to do their updating in their own time. This is extremely cumbersome for each control that needs updating! I don't want to use a BackgroundWorker because I don't have one or two long-running processes - I want my whole backend running in it's own thread. What I end up doing now mostly is having a global (static) object where I mirror data presented on the GUI. The GUI runs a timer and copies that data to the cont ...Show All
Smart Device Development WndProc eventhandling never gets time to execute due to other thread.
Hello I have an application which in its InitInstance uses RegisterClass to create a window class. My window class has a CALLBACK WndProc that is used to translate messages. I also have an updateScreen() function which I used to call as a result of an incoming event to my WndProc function. What I did is that I instead created a worker thread to call my updateScreen() function. But this now results in that my new thread never seems to let the WndProc get any events anymore. I have put a Sleep(100) in my new worker thread without success. The only time I'm able to get events to my WndProc is when I'm in debug mode and I set breakpoints in the WM_KEYUP and WM_KEYDOWN cases. I have also tried setting different thread priorities on my worker t ...Show All
