curwiler's Q&A profile
Windows Forms Deleted row information cannot be accessed through the row.
Hi, I got the DeletedRowInaccessibleException with the description in the subject when I try to update an Sql Table. I'm doing a very simple stuff here and don't know why it fails. I'm using a DataGrid to update a DataTable in a DataSet. ...Show All
Smart Device Development Low power state
The device emulator seems to think that the smart device has run completely out of battery power. This is pretty annoying, especially with programs that check the battery state and change their UI accordingly. Any chance to make the battery power level configurable Hi Lutz, This is something that I want to do but have not yet had a chance too. Thanks, Vladimir ...Show All
SQL Server Using HTTP Post to secure parameter values?
It is mentioned in "MS SQL Server 20005 Reporting Services" (good book by the way) that you can get around URL access limitations by employing the HTTP Post method. I have employed the HTTP Post example from the book and parameter values are still exposed in the URL. Am I missing something I have searched the internet trying to get a definitive answer to this issue and came across this blog ( http://blogs.msdn.com/tudortr/ ) entry w ...Show All
Visual Studio Collaborating on models?
Let's say you have a domain model and create a new diagram "Full.diagram". Then you add two new classes "Entity1" and "Entity2" to it. Those two domain classes appear in the model and DSL explorer. In a production environment it would be important to share model details in a developer team and put individual domain classes under version control. So, let's say I have two developers working on the same domain model. Developer 1 creates "Entity1" ...Show All
Visual Basic Coding in different compilers
im pretty new at this,i have the envelop compiler for visual basics,i love the program but i have one question, how can i use code for my compiler that works in another compiler I watched an instructional video tutorial that explained the basics and the tutorial was using visual basics 2005 express edition.it used an example of code in a button that made a messagebox.the code was "Messagebox.Show ("Text")" or something sim ...Show All
Visual Basic Declaring Windows constants for VB.Net
Hi, I was curious if there was an include file for VB.net that would enable you to use Windows Constants. I have found a few examples of where people declare their own Windows Constants (such as: Private Const WM_SYSCOMMAND As Integer = &H112 Private Const SC_CLOSE As Integer = &HF060 ) But I am curious if there is a file that already has this declared. I believe there was a .h file used for C++ in the past. I'm looking fo ...Show All
.NET Development I can't send mail
I write this code but it doesn't work. It just show "Email didn't send succesfully". I didn't know how to add UserName, Password and Port. Please help me. private void Button1_Click( object sender, System.EventArgs e) { Button1.Enabled = false ; try { System.Web.Mail.MailMessage myMessage = new System.Web.Mail.MailMessage(); myMesage.To = txtDen.Text; myMesage.From = txtTu.Text; myMesage.Subject = tx ...Show All
SQL Server Simulate ROW_NUMBER () in SQL 2000
I would like to generate an incrementing column value to each row found in a query in SQL Server 2000. My understanding of SQL Server 2005 is that you can accomplish this approximately along these lines: insert into MyList (myNo, lName) select ROW_NUMBER() myNo, lName from Employee select * from MyList order by myNo myNo &nbs ...Show All
Visual C++ pseudorandom number
I am learning c++ and just a beginner.I want to know how to get a pseudorandom number in the range one number to another.Thank you very much! If you don't care for real even distribution you can use the modulo operator. // get a random number 0<= r < iMax int r = rand() % iMax; // For evenly distributed values you need conversion to float int r = static_cast<int>((rand()/static_cast<double>(RAND_MAX)) * iMax); ...Show All
Visual Basic MdiChild external application
Is there possibility to run third party application (for example notepad) as mdi child window in mdi parent form Or is there possibility how to manage window size of such a application Thanks ...Show All
Windows Forms Design mode of custom control hosted in UserControl
Here's my problem. Throughout my code in a custom control I check to see if it's in design mode. If it isn't I don't do anything, if it's not then I do. (I have to do this because I'm using MSHTML and it works as soon as&nbs ...Show All
Visual Basic Full Text Search in Visual Basic
I am trying to create a simple full-text search application in Visual Basic (2005 Professional trial version). I have been successful in doing full-text searches within SQL Server Management Studio using SQL queries, so the database has a working catalog, index, etc. Here is a sample SQL query statement that I have used in SQL Server Management Studio: SELECT SectionText FROM Full_Documents WHERE CONTAINS (SectionT ...Show All
Software Development for Windows Vista msi.lib not found
I have a project that needs link with msi.lib and I got the following linking error: LINK : fatal error LNK1181: cannot open input file 'msi.lib' I have the following paths in the library directories: $(VCInstallDir)lib $(VCInstallDir)atlmfc\lib $(VCInstallDir)atlmfc\lib\i386 $(VCInstallDir)PlatformSDK\lib $(VCInstallDir)PlatformSDK\common\lib $(FrameworkSDKDir)lib I only found the msi.lib in $(VCInstallDir)PlatformSDK\lib\IA64 and $(VCInstall ...Show All
Visual C++ Help with visual beta 2
Im in a CS class using the microsoft visual studio 8 beta 2 as our program. last year we used lawence press libs and we cant use those in beta any suggestions Hi, I've looked at the libraries you linked to and it seems that they have been designed back in 1997 for Visual C++ 6.0. Since that release, we have made tremendous improvements in the product, specifically in the realm of standards conformance. Thus, the primary reason for the libr ...Show All
Visual Basic Webbrowser control - capture popup
Hi! I am using an embedded webbrowser control to access a third-party website, populate the username and password boxes on their front page, and login. The problem I have is that the resulting window that the site returns to me is in the form of a new window. What I want to do is capture this window and all it's session/cookie data in to the original webbrowser control, as even if I direct the original window to the same resulting url, ...Show All
