Dareman's Q&A profile
Visual C# Getting nu8meric value from TextBox
Hi, I'm trying to get a numeric value from a TextBox, but so far, no good. The help says something about the a numeric property, but i can't find it in the properties list. How can i retrieve the value Any help would be apreciated. Warm Regards, M. ...Show All
Visual Basic How to Reuse StreamWriter Object?
Here i am using Streamwrite object to write something in file and also i have to use it continuously in different function. So,when i closed it then i can read my newly created file but how can i open it again in the same program to write something new Thanks for replying. Here i am writing the code Public Shared Sub Main() Run() End Sub Dim fs As New System.IO.FileStream("C:\temp.txt", IO.FileMode.OpenOrCreate, IO.FileAccess.Write) Dim sw As New System.IO.StreamWriter(fs) ' Create a new FileSystemWatcher and set its properties. Dim watcher As New FileSystemWatcher() watcher.Path = ("C:\abc") ' Watch for changes in LastAccess and LastWrite times, and ' t ...Show All
Windows Live Developer Forums OTP: getting error message come up everytime a message box is opened
get the following error box come up everytime a meage box is opened, and it keeps repeating itself Acces violation at address 0044CD07 in module 'msnmsgr.exe' Read of address 00000000 This does not look like a programming question. These forums are for programming questions only. If this question relates to code you have written, please reword it so this is clear ( this would also provide info we need to help you, such as t he code ). Otherwise, you need to find somewhere else to discuss beta issues. ...Show All
Visual Studio Team System Does VSTS support Dynamic data binding ?
I am facing the problem: How can I bind dynamically generated Product ID to form post parameter from db with condition that this productID was previuoslly generated by company XX Thanks Casik What you'd want to do is create a view in the database that puts all the data for a virtual user on a single row. Each row in the view would then represent a virtual user. Our databinding will pick a different row automatically for each virtual user. Alternatively, you could use standard ADO.NET to read directly from your database and grab the info you need right at the start of your tests. You could do this in a coded web test or by creating a WebTestPlugin. You could add all the data you need to th ...Show All
Visual Studio 2008 (Pre-release) Is it possible to create a seperation line in Listview?
Hi all, Is it able to create a seperation line between Listview in WPF application so that it can look like a grid ... through XAML whether it is possible you would have to change the style the following entry might help you on this http://blogs.msdn.com/atc_avalon_team/archive/2006/03/15/551721.aspx ...Show All
.NET Development .NET Framwork 3.0
After I install .NET Framework 3.0 update from MS site, I am unable to open my McAfee security center. I can’t even uninstall it from Control Panel (nothing happens when click change/remove button). Anyone knows why TX After a series of trials and errors, it is NOT the .NET Framework 3.0 update that causes the problem, it is the Root Certificate update for IE 7 that disables the McAfee Security Center and blocks internet access. Don’t download the Root Certificate update for now. ...Show All
Visual Studio Team System source control
does visual studio team system for database professionals incude source control if yes, is the source control at the database level meaning if someone goes into Management Studio will they "see" that a stored procedure is currently checked-out and then they cannot modify that sp. Hi, I do agree with the above strongly (see one of my previous posts "VSTS4DBP could be dangerous"), but I also feel it's also a question and policy of discipline. Assuming that no one want's to intentionally damage the DB the point would be to get VS to the status that for development work it is equally good and fast to use as SSMS. With DataDude we've taken a big step and I assume t ...Show All
Visual Studio Invoke or BeginInvoke Error if from closed before entire report is generated
I have an app with a 400 page report. If the user closes the report viewer form (with Close X in upper right of form) before the report has generated all 400 pages, I get an error "Invoke or BeginInvoke cannot be called on a control until the window handle has been created." You can tell how many pages have been generated by watching the upper left where it shows "Page 1 of X" where X is clicking off the pages generated in background. I'm assuming I need some error handling code but not sure what and where to put it! just To add on. i just tested this method. it does work. but dun put the time to wait to 0 Mayb 500 or -1.. Just a little info for those that may have this prob. ...Show All
.NET Development How to access router's webpage interface and restart it?
I want to write a program for restarting router. I’ll try to describe the process of restarting a router: Start the browser. Enter router’s IP. Inset password. Click on “Apply” (menu panel) button and wait for 30 seconds countdown , for this period of time the web page should be opened for restart process to complete. Close the browser. The program should do all this of course in background (without opening browsers) . How this can be done and what tools should I use: webbrowser Control, HttpWebRequest or DOM technology Thanks for help and suggestions. And what about DOM architecture One VB developer told me something about MSHTML.HTMLDocument ... Any idea p.s. firefox has a DOM inspector tool, will it ...Show All
Visual Studio Is there an option to add or remove options from a menu list?
I am using VS 2005. Recently the programmers in my group went thru a routine that resulted in integrating our computers with other offices in our network. After this was done the apps that were installed on my C drive had to be reinstalled. Aside from the difficulties with the other applications, I've noticed that in Visual Studio 2005, several options are missing from the "Build" menu option. Where before I had "Batch Build", "Build Solution" "Clean" "Publish" "Rebuild ..." and several others, now I can only see "Build" and "Publish". After searching thru the Tools/Options for a way of re-inserting the missing options and searching on the Knowledgebase ...Show All
Game Technologies: DirectX, XNA, XACT, etc. JIT register allocation and bounds checking
A few questions for Shawn or one of his buddies: 1/ Does the register allocator used in the XBox JITter use all of the available scalar floating point registers If not, how many can it deal with 2/ Does the XBox VM ever skip array bounds checking, and if so under what conditions 3/ Presumably there are no bounds checks when using unsafe code and pointers 4/ Are the method inlining limitations of the CF VM mentioned here still applicable to the XBox VM - especially the one about not inlining any method with floating point arguments or return values (yikes, that would be all floating point setters and getters!) Andy. I'm not Shawn or one of his buddies, but I am pretty sure I know the ans ...Show All
Internet Explorer Development Difference between Browser restart / page refresh in IE 7
I would like to know the difference between Browser restart / page refresh in IE 7. I am installing Activx control in one of my web page. After Installation , if I close the browser and open it again , I can detect whether Activx is installed or not. But if after installation of Activx if I just refresh the page , I am again prompted to install Activx. What could be the possible solution I am detecting ACtivex by the following code in Javascript. try { viewer = new ActiveXObject('Adobe.SVGCtl'); } catch (e){ viewer = null; } My Html Page only has single span tag. All Activex Installation code is in Javascript . ...Show All
Visual Studio Team System Add To source Control : unavailable
Hello, I am trying to upload on the source control a specific folder that my team use to share valid version of our dll all references pass by this folder (_assemblies). But each time I try to use File/Source Control/ Add to source control the menu item is unavailable(lightgrey) I am simply unable to add a lonely folder or even a lonely file to the source control Is it a problem of right management (administrator required) do you also share this problem Does some know what can I do tu vault this folder and its content REgards, WoZoI Problem solved. It was about workspace definition. I missed the definition of the workspace of the souce control administrator. sorry men, wo ...Show All
Visual C++ C standard applications in Visual Studio 2005
Hello. Is it possible to develop Ansi C applications in Visual Studio .Net 2005 using standard libraries like <stdio.h>, <conio.h> etc. If yes, how Thanks'. To elaborate on an earlier post, /Tc is used to force the compiler to compile a file as C code, regardless of its extension. This is rarely used since by default files with the *.c extension are compiled as C code. More info: /Tp tells the compiler to ignore a file's extension and forces C++ compilation. ...Show All
Visual FoxPro the no server server?
ok my client now wants the application i made to run on multiple computers. i am not a network wiz but i know a few things. will this work: 1. right click mynetwork places and do map network drive. ill make drive Z:\ and find a folder.... ok now i have drive Z:\.... now i do the same thing with the 2 other computers. So i now have 3 computers with drive z:\. on drive z:\ im going to have all the files. my questions are is this a good setup will it work out what i do is i have a text file on all the computers and inside the text file is the path.. "z:\" so before my application starts i just create a temp cursor and append the csv value from that text file. i ...Show All
