pdb2's Q&A profile
Visual Studio Team System Performance degradation after the conversion of windows app from .net 1.1 to .net 2.0
I could see that there is significant performance degradation after the conversion of our windows application from .net 1.1 to .net 2.0. It was running fine in .net 1.1 and VS2003, but after the migration to .net 2.0 and VS2005 many screens are loading very slowly. I could not figure out the actual reasons for this performance degradation. We can also see that the application runs little faster if it runs out side VS2005. I am using Visual ...Show All
SQL Server calling stored procedure in VC++
i have a stored procedure to get the user pin. the stored procedure works perfectly as i tested it both in VB and ASP , but when i try to call stored procedure from VC++, then i get a Idispatch error #3092. here is the code: BSTR newpin; _bstr_t qsql = "{call user.getpin( ,{resultset 100,pin})}"; command->PutActiveConnection(conn); command->PutCommandText(qsql); command->Parameters->Refresh(); command->Parameters->It ...Show All
Software Development for Windows Vista Document approval senario.
Say I have a document approval workflow implemented in a State Mashine WF. The states are New Document Submitted (set state = ”ForApproval”) ForApproval (set state =”Updating” or ”Published”) Updating (set state = ”ForApproval”) Published (Completed) When requesting complements, the publisher would submit some notes about what kind of information he or she requires. These would be submitt ...Show All
Microsoft ISV Community Center Forums Serial Port Communication Using MS Access VBA
Need help using MSComm.ocx in MS Access 2000. I have successfully registered the file and have gotten passed licensing issue. However, I am not sure how to use the control to read the data. My code reads: mscomm1.comport = 2 mscomm1.settings = "9600,N,8,1" mscomm1.portopen = true mscomm1.inputlen = 0 buffer = buffer & mscomm1.input (this line of code returns nothing) Any help is greatly appreciated. ...Show All
Visual C++ Whats so good about C++
What makes C++ better than Visual Basic and C#. Also, does the users computer have to have the .NET framework installed in order to run C++ 2005 applications DCStudios wrote: What makes C++ better than Visual Basic and C#. Also, does the users computer have to have the .NET framework installed in order to run C++ 2005 applications See my article on this :- A rational attempt to substantiate C++/CLI as a first class CLI l ...Show All
Windows Forms Graphics question
Ok my problem is with Graphics class //------------------------------------------------------------------------------------------------ private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; g.DrawLine(new Pen(Color.Black), new Point(30, 30), new Point(30, 100)); g.Dispose(); } you see i declare Graphics g=e.Graphics where 'e' is the PaintEventArgs and then draw a line //--------------- ...Show All
Visual Studio 2008 (Pre-release) AnimationFinished Event?
Is there some sort of "AnimationFinished" event that gets raised when the BeginAnimation method finishes doing its thing I need to execute some code when an object gets done animating. Thanks very much, that did the trick! I knew it was there somewhere...I just didn't know what I was looking at. ...Show All
Visual C++ errors while executing vc++ code
Hi I have one opensource of vc++. While executing this code it is giving the following errors. 1)error C2433: 'HWND' : 'inline' not permitted on data declarations 2)error C2143: syntax error : missing ';' before '{' 3)error C2447: '{' : missing function header (old-style formal list ) 4)error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 5)error C2086: 'int CALLBACK' : redefinition If any one got these erro ...Show All
Windows Forms creating calculated column across 2 relations
Hi. I am trying to build an certain expression that I can add to a table column but I am running into some issues. If someone could help, I would greatly appreciate it. Here is the idea: I have the following 3 tables: an addresses tab ...Show All
SQL Server Parallel activations with GET CONV GROUP
Hey guys. I'll try to keep this as short as possible. Was testing out some thresholds with a simple service broker application and ran into something interesting that I'm trying to find a workaround to. I setup a simple service on a single instance, and am transmitting messages to/from the same instance. I assigned a procedure to be activated on the queue, with a max of 20 parallel activations. The procedure originally was reading messages ...Show All
Windows Forms List Box DataBinding Issue
Hello, I am having and issue and Im not quit sure why. I am using VS2005 TS. I have created a Windows Forms Project. On one of the forms, I have 2 listbox controls. The first listbox control is bound to a custom object when the page is first loaded. When you select a value from this list, it populates the second listbox with data bound to another custom object. This works fine.. however i have created a custom event that fires ...Show All
Visual C++ Evil Error Link 2005 problem on release configuration; Debug config works great!?!
Hey everyone, I have the following issue: I am not able to build a release version of my app, although building a debug one works great. So I looked up error 2005 and it said to put libcmt.lib & nafxcw.lib in the ignore directive... WHICH i DID (results of ignoring libcmt.lib & nafcw.lib, but still adding them to additioanl linker depdendcies) Here a choice selection of the more than 200 errors: LIBCMT.lib(invarg.obj) : error LNK2005: _ ...Show All
Software Development for Windows Vista K2.NET vs WWF
Hi.. I have been evaluating K2.net and other workflow tools.. and addition of WWF adds to the confusion. now k2 solves most of the workflow scenarios though the licensing may be a issue with some clients. Now WWF g8 to use and with not many licencing issues but the problem its still beta.. So what should you suggest to a customer who is planning for a workflows at a large scale in the next 6 months .. any pointers Regards Parito ...Show All
Windows Forms How to hide form from Alt-Tab dialog
Hi, I'm creating a borderless form by setting this.FormBorderStyle = FormBorderStyle.None When I show the form, if users press Alt-Tab to switch among applications, they can still see it. How can I disable it Thanks a lot. Isn't this just another way of setting the form border style It works, but does change the border for me. ...Show All
Windows Live Developer Forums Client Error
Hi everybody, I keep getting sporadically the following exception the only solution I have found so far was to replace the AppID. Does anyone else have a better idea Does anyone else have this problem (I tried changing the culture info with no luck so far) System.Web.Services.Protocols.SoapException: Client Error at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse respons ...Show All
