mmahmood's Q&A profile
.NET Development newbie needs HELP with SQL insert/update in J# windows form
Thanks to anyone who helps! I'm building a data entry windows form that requires the data to be sent to a SQL Server table (the table's name is "Local") when the form's "SAVE" button is clicked. I've built the form using the windows form designer, and now I'm attempting to use SQL statements to insert/update data into the table. There are six fields that will use SQL statements to send data to the Local table, and non ...Show All
Visual Basic Tabbed Browsing - Struck a problem.. Please help...
Hi everybody, I have started making my own tabbed browsing but i dont know how to use the webbrowser progresschanged sub without having an intial object 'WebBrowser1' - all of them are made programatically and names are stored an ArrayList. How can i add Private Sub WebBrowser1_ProgressChanged( ByVal sender As Object , ByVal e As System.Windows.Forms.WebBrowserProgressChangedEventArgs) Handles wblist.item(itemname).Progres ...Show All
Software Development for Windows Vista Re-creating Event-listener after Runtimeshutdown
Hi all Is there a way to recreate the event listeners of a running but persisted StateMachineWorkflow after the Workflow Runtime has been "restarted" Let me explain: I have a running StateMachineWorkflow with 3 States (for example), State 2 is the current state and it's waiting for an external event, the instance becomes idle and persists. After the instance is persisted the runtime shuts down (System Restart, Load-Balancing - or ...Show All
SQL Server XML Source - Generated XSD or XML Problem?
Trouble with using the XML Source Adapter and generated XSD. The XML source is from a file. The XML file that, due to its origin I can not modify, has the following on each line (I've formatted it for readability): < xml version="1.0" encoding="UTF-8" > <Merge ActionType="M"> <OldID>23677451</OldID> <NewID>25116562</NewID> </Merge> They are messages from a que ...Show All
Windows Forms Inheriting from a component and showing the result in the designer?
I already posted this in the Visual Studio C++ Express Edition board, but after not having received a single answer despite dozens of views I figured this might be a better place to ask this question: Joltan wrote: In Visual Studio 2005 C++ Express Edition I extended the ListView class through inheritance with some methods of my own to create a specific ListView type I need repeatedly in a small project of mine. Now the new ListView ...Show All
Visual C# GirdView's AutoGenerateColumns
GirdView's AutoGenerateColumn property is automatically changed to 'False' when the DataSourceID property is removed at Design time. Is it the expected behaviour Julia ...Show All
Software Development for Windows Vista OS crashes with registry APIs calls
Hi, Im excercising some registry functions for my automation. I am not too sure which function, but my OS crahses on reboot. (refuses to start). I am using the following API's RegReplaceKey, RegUnloadKey, CreateProcessAsUSer and CreateProcessAsToken. Any help would be appriciated. I have logged in as Administrator. I am also adding the code snippet here: INT TestRegReplaceKeyA( VOID ) { LONG ReturnVal = 0; HKEY KeyHandle = NULL; CHAR filePath[S ...Show All
Microsoft ISV Community Center Forums Microsoft Partnering and License
I am planning to start a Company. I want to develop solution for Small business to Grow. I have done good amount of study for Small business. I feel there is a great potential for me to enter. My Questions are. 1. My first Application requires a Data base server for small Business. If I register as an ISV, am I allowed to distribute Microsoft SQL server 2005 Express edition once it released along with my Application 2. Some time there is a cla ...Show All
Visual Basic File Read Error
Hello All, I am creating a HTML file on runtime through my VB.Net application, using following code '**************************** Dim filename As String = "new.html" If IO.File.Exists(Application.StartupPath + "\Files\" + filename) Then IO.File.Delete(Application.StartupPath + "\Files\" + filename) End If Dim HTMLFile As New IO.FileStream(Application.StartupPath + "\Files\" + filename, IO.FileMode.Create ...Show All
Visual Studio Express Editions Printing XL and Word from Visual STudio (Basic)
Not sure if this is the right place to ask this but perhaps if it isn't someone could direct me to the right place! I have a application that I used Visual Basic 2003 and MSDE (actually just switched to SQLExpress) to program. Part of the program allows users to 'store' word or excel documents in the database so that they can easily see where to find the additiona information. (By 'store' what I mean is that I'm storing file ...Show All
SQL Server SQLEVN70.rll error
When I boot my system , I get the message that my sqlserver installation is either tampered or corrupt. As a result when I try to restore my system to previous checkpoint I am not able to do so. Please let me know solution for this. I tried installing and uninstalling but that did not work....this is very very imp...please respond ASAP Could you post the error message you are getting HTH, Jens Suessmeyer. ...Show All
Visual Studio Team System Test Run Error (Beta 2): Deployment from network share is denied by current user settings
Hi all, Beta 2 looks and feels great so far. I am developing in a VM, but keep my project files on a central server, which is accessed through a network shared (mapped drive). When trying to run a basic unit test, this is the error message I get Failed to Queue Test Run '<something here>' with id {2ddc7564-d243-427e-967b-fbb3209a0e94}: Microsoft.VisualStudio.QualityTools.TestManagementInterface.ExecutionException: The file or dire ...Show All
.NET Development Remoting event
Hi, Does anyone know from where I can find a reference application for remoting event Chester Hi I found a great topic on remote events which enlight me quite a bit on the topic. It is on condeproject website, http://www.codeproject.com/csharp/TwoWayRemoting.asp . This topic consists of a server talking to 1 or more clients. If not what you're looking for, just search on codeproject , alots ther ...Show All
Visual Studio Team System Synchronization of two TFS?
Hi, I'm wondering if there is a possibity to synchronize 2 team foundation servers I want to synchronize a project (worked on on both tfs) every day or so. thanks, Rhapsy There is nothing out of the box. It would depend on the circumstances, but it would be possible in a simple scenario to do some syncronization programatically ...Show All
SQL Server System.OutOfMemoryException in Reporting Services 2005
All, I keep seeing "System.OutOfMemoryException" in my production website/reportserver (in the reportviewer). I'm running a report that can return a variable number of records. The test I am running has 16000 records. When I run the report on a test website/reportserver pointing to a test database the report works perfectly. When I run the report on the production website/reportserver pointing at a production database it bom ...Show All
