JTDSpoons's Q&A profile
SQL Server Get value of 10 textboxes to decide footer color
If I have the 10 textboxes in my footer with a value of "X" (from an IIF() expression), then I would like to alert the users and have the footer a different color. I'm trying to get the value of the textbox, but keep getting an error of it being undeclared. I'm trying different syntax, but can't get it to work. Here's the code: = IIF( textbox11 ="X" or textbox15="X" or textbox19="X" or textbox27="X" or textbox23 = "X" or textbox31 = "X" or textbox35 = "X" or textbox39 = "X" or textbox43 = "X" or textbox47 = "X" ,"Gainsboro","Transparent") That seems to get me closer, but it still doesn't get me ...Show All
Visual Studio Any problems upgrading VSS database
I have just installed VS2005 and I'm now all set to upgrade my SourceSafe 6 database to 2005. Has anyone had any issues with the process or are you aware of any factors I might want to take into consideration before taking the plunge I'm guessing (because I can't find any docs or FAQ on the subject) that as part of the upgrade process a new SQL Server database will be created and all of my source code from my VSS6 database will be added to it If anyone has already been through this process and can shed any light on the situation I would be most grateful for yours thoughts or experiences. Obviously our existing database is backed up, b ...Show All
Visual C++ Slow link time
I am using VC++ 2003. My link time in debug configuration, for a simple console test program with less than 600 total lines of code, is more than two minutes. This is quite annoying in the context of a continuous build-test-debug cycle. This is on a dual-processor 2.8 GHz Xeon with 2 GB of memory, so I don't think hardware is an issue. The /TIME option gives the following result: Pass 1: Interval #1, time = 11.313s Pass 2: Interval #2, time = 127.109s Final: Total time = 138.422s Final: Total time = 139.687s I pull in a total of 6 object files, 8 static libraries (about 32 MB in debug build), and one DLL. My l ...Show All
Visual C# How do i convert a string in yyyy-mm or mm-yyyy format to a DateTime?
Hi, I have a string that can be either in 'yyyy-mm' or 'mm-yyyy' format. How do I convert such a string correctly to a DateTime. I do not know the exact format it the string until runtime. Thanks if (strDate.IndexOf("-") == 4) dtDate = DateTime.ParseExact(strDate, "yyyy-MM-dd", null); else dtDate = DateTime.ParseExact(strDate, "MM-dd-yyyy", null); ...Show All
Visual Basic How to execute click, some select, input text in HTML page, using WEBBrowser Control (VS2005)
I use new WEBBrowser control (VS2005) in my program (WinForm) for open web site. (VB2005) After using method "navigate", in my webbrowser control I have HTML page from some website. This HTML page has some input button with events or input text control or other interactive control on it. I can click with mouse on that buttons or input text from keyboard or select value from combo box to send this page back. question: How I can execute this from my program code, using property and methods WebBrowser control Thank for attention. Hi, You can do it by accessing the ...Show All
Windows Forms ComboBox / DataGridView Problem
Hello, I have a form with a ComboBox and a DataGridView . One of the columns of the DataGridView is a ComboBoxColumn. The DataSource of the ComboBox and the DataGridView are Object BindingSources. If I assign a third Object BindingSource to the ComboBoxColumn and run the application, I get the following error in the InitializeComponent method: Field called Name does not exist. The error line is the EndInit call of the BindingSource of the comboBox (not the column). If I remove the ComboBoxColumn the error doesn't occure. I can't isolate the error Thank you Frank This is a bug in the D ...Show All
Software Development for Windows Vista Problem with update
I updated my windows, then restarted it as instructed. I got this really nice message saying "The file wmp.dll a version number of 10.0.0.3990 where 10.0.0.3802 was expected Windows Media Player is not installed properly and must be reinstalled Do you wan to install the Player from the Microsoft Web site ". The problem is I have ALLOT of things on my windows media player and I dont want those to go away or me having to reorganize ALL 4 gb of my music, my settings, and redownload all of my visualizations. If you can help me or you could talk to microsoft about this update problem it would be greatly apreciated. ...Show All
Visual Basic Modifying the OpenFileDialog
I'm trying to add a file preview and other functionality to this form but it has been mission impossible. There is a section here (msdn) were something similar is performed but it is done in VB.NET 2003 & I am in 2005, I get allot of errors. If anyone here could directed me in the right direction or provide me with an easy to follow example it will be greatly appreciated. Thanks in advance. William Hi, please i will be very glad if u can send to my email address the code for the openfiledialog and codes to edit and make use of it i will be vary glad. cgraus wrote: I have VS2005 and I just ...Show All
Visual C++ MSXML DOM memory usage
One of the applications I'm developing requires the use of some kind of phone/address book. The address book requires to be persistent. The first idea was to use the registry, but it appears that in the typical scenarios in which this will be used, the address book can have as many as 65,000 - 70,000 entries and that would mean too much data in the registry. I'm evaluating the suitability of XML for this purpose and plan to use DOM to allow for typical operations associated with an address book. In this context, I need to know the typical memory requirements for MSXML DOM when used in this manner. I do not expect the data format to be too de ...Show All
Visual Studio Team System .runconfig not picked up when excuting tests as part of a build
I need some files to be deployed form my test to work correctly, to do this I a .runconfig. This works fine when I manually excute the test, but does not excute at all when the test are run as part of an automated build. I edit my config file to read: <TestingFlag>true</TestingFlag> <!-- TEST ARGUMENTS If the TestingFlag is set to true then the following is relevant Metadatatest file path - mandatory Testlist na ...Show All
Windows Forms truncated text in listview column
Hello! I have a listview with one wide column (width = 2000), but nevertheless exists a problem to show a long text inside items. I inserts listviewitems with long text (about 300 characters), but this text is truncated during representation, though listviewitem contains added text correctly. I use the following code: ListViewItem lstItem; listView.Items.Clear(); while (datareader.Read()) { &nbs ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to make a trainer.
Does anybody on this forum know how to make a video game trainer in c++ (using visual c++ express) I would like to know how to do this. I know it is not impossible. I have searched the internet and all the examples I could find are either extremely old or they are for asm (which I do not know). I am fluent in vb and vb.net, if that matters. If someone would be nice enough to explain the process to me, it would be great. Thank you. This is a bit tricky as when I was younger I used to fool around with UFO enemy unknown and increase my cash flow. This was done in Hex. What I suspect you have to do is find out where the locations of things ...Show All
Visual Studio Express Editions error help plz
howdy i am new to this and am doing the microsoft vb express tut i am on number 1 of the tut and i am following him along this is the first bit of code we write Messagebox.show("hello world") then he clicks start debugging up the top to look if it works then looks like a play button everything starts up for him then when i do it i get this error ''Error trying to run project: unable to start debugging the binding handle is invalid but then if i save it and go into that folder and open it it works but i dont want to have to keep saving it every time i wanna see if it works and go into the folder ...Show All
Visual Studio Team System Team System Coverage for Web Services
Hi, I am trying to get a code coverage for a web services. After the build is done on the Build machine a set of unit tests is running. In my testrunconfig file I have specified that that I would like to run a code coverage for my web services. In the build/test results there is no trace of the code coverage. The message that I can see in the test results/code coverage is following: " Empty results generated: none of the instrumented binary was used. Look at test run details for any instrumentation problems." I am trying to find what are the instrumentation problems but there is no other clues what might be wrong. I ...Show All
Visual Basic Accessing a running program's ram
I want my program to access a program's ram (when the program is running in memory) so I can debug it explicitly. I know how to edit a file by storing it in a buffer but how would I do this when a program is running. If suggestions or code samples are given, please make sure they are for vb.net and they are explained. Thanks. Hi! Access memory Your program access it's memory. Access to other program's memory is protected for security and stability reasons. If you want to make this you need a lot of reading about virtual memory, kernel, Win32 API, etc. What do you want to read in this memory There is no list of internal object ...Show All
