smehaffie's Q&A profile
Visual Studio Express Editions VB Express and ADO?
Hello, I'm trying to connect to a MySQL database using VB.NET 2005 Express... I'm new to VB, and I found a code that is supposed to let me connect to a MySQL server, but apparently I need ADO. Is it possible for me to do this If not, is there any other ways I could connect to a MySQL server using VB.NET 2005 Express Dim conn As ADODB.Connection Dim rs As ADODB.Recordset Dim username As String Dim passwd As String ...Show All
Visual Studio Team System Accessing "Web Test" context variables at "Load Test" level?
Hi, For a performance test project, I need to be able to write to the "Context" table of a web test programmatically from the load test plugin. I looked at some of the load test event handlers like, loadTest_TestSelected( object sender, TestSelectedEventArgs e) loadTest_TestStarting( object sender, TestStartingEventArgs e) loadTest_TestFinished( object sender, TestFinishedEventArgs e) and I wasn't able to access the actual web ...Show All
Visual Studio Express Editions Selecting from a Combo Box
I have a combo box with 5 pre-defined items. When I execute my code, no matter which item I select from the drop-down, the code always executes the first selection. cbxLength contains the values 10, 15, 20, 25, 30 which represents the # of years, and I multiple their selection by 12 to calculate the number of months. Why is the code always selection (0) as the index Thanks for any help you can provide. If cbxLength.Items(0) Then ...Show All
Visual Studio Tools for Office Missing InfoPath Template Project within Office projects
Hi, I have VS2005 Team Suite installed together with VS Tools for Office, but I can't create new InfoPath project, becouse it is missing ( only word, excel and outlook prejects are there). I have also VS2003, Office InfoPath 2003 SDK and Office InfoPath Toolkit for VS.NET installed on the same computer and it.s working. Can someone help me please Thanx. Hi Raschmann, If I remember correctly there should b ...Show All
Windows Forms Using Win32 API to get mouse click
Hi, I'm developing a small "colour picker" app in VB.Net to get the colour at a particular pixel anywhere on the screen (ie: not in the form). I understand I have to call the Win32 API to do this, perhaps trapping the WM_LBUTTONDOWN ...Show All
.NET Development WSE/DIME - WSE352: The size of the record uuid:{g-u-i-d} exceed its limit
I've gotten DIME attachments to work, but I'm running into the infamous 4096 limitation. How can I download a 20 meg file as a DIME attachment I've tried the maxRequestLength setting <messaging> <maxRequestLength>-1</maxRequestLength> </messaging> but this doesn't have any effect. Actually, looking at the docs indicates to me that this setting has an effect for upl ...Show All
Windows Forms Marquee progress bar not working in VS 2005
Howdy all, In VS 2005 I put a progress bar on a form. I set the style to Marquee, but can't figure out how to make it run. The progress bar is always blank. I want it to just scroll continuously because the time it takes for the background operation cannot be determined. I'm running Windows XP Pro w/ SP2 and .NET 2.0 (I already read the thread about the Marquee style not working in Windows 2000, that's not the problem he ...Show All
Visual C++ error LNK2019: unresolved external symbol _strncmp referenced in function "public: int __thiscall ...."
Hi I am new to C++. There is a project earlier written in VC++ 6.0. I opened the same project in VS. NET 2005 and I am trying to compile. The code compiles properly (with couple of warnings) but while linking I am getting unresolved external symbol errors like this: sha.lib(Sha.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 USBClient.obj : error LNK2001: unresolved external symbol __RTC_Shutdow ...Show All
Visual Studio Tools for Office login to MS Exchange 2003
Hi, I need to do a very simple email notification application, which should loign to MS Exchange 2003 server and check if any new messages.. BUT there is one problem.. we use MS Outlook 2000 and 2003 which has two accounts, MS Exchange and POP3 configured.. so is there any way to login to both, check if any new messages and notify the user Many Thanks.. Jassim, I am sorry it took so long for us to respond. We are trying to now get ...Show All
Visual C++ Does Visual c++ is having alt-f12 like visual studio 6.0
Hi, I worked extensively with visualt studio 6.0 and when shifted to .net version I was very dissapointed to see that the "Browse Information (alt-f12)" feature was not there. That is a very good feature for reverse engineering and my question is that does that is included in visual studio 2005. Regards, Sanjeev Bhatia Hi Sanjeev, Yes, not only is this feature fully back in the 2005 release, but now it is based o ...Show All
Visual Basic How to remove (delete) cookies from my computer using vb.net 2.0 programme code?
How to remove (delete) cookies from my computer using vb.net 2.0 programme code I could have written this in pure .Net but decided to do it this way and let you decide. Const CSIDL_COOKIES = &H21 Const SHGFP_TYPE_CURRENT = &H0 Dim S As Object = CreateObject("WScript.Shell") Dim mystr As String= S.SpecialFolders("MyDocuments") mystr = Replace(mystr, "My Documents&qu ...Show All
SQL Server Custom connection manager development sample?
Does anyone has code/sample/tutorial/pointer to developing custom connection manager with a custom UI. And then developing a custom task with a custom UI that can point to this custom connection manager... and passing values during runtime from UI to the custom class. TIA, Nitesh I assume you mean a custom UI for the component not connection. You follow a similar pattern to tasks, but inherit from IDtsComponentUI Interface . Developing a ...Show All
Software Development for Windows Vista simple performance question
Which of the following systems has more performance (and why, of course....): System A: with 100 workflowRuntimes each of them runing 10 workflows. or System B: with 10 workflowRuntimes each of them runing 100 workflows. (assuming that workflows use statePersistance service and are consuming similar amounts of resources (procesor, DB, etc) ) Thanks in advance, Ariel Schapiro . ...Show All
Windows Forms Nested forms
Oh, Great Knowledgeable ones.... I need a form that looks kind of like this: Feb-06 NSBIR-2 LM-1 TAC-1 Pay Rate Pay Type % Allocated for Month Normal Hours % allocation Hours Allocated Pay % allocation Hours Allocated Pay % allocation Hours Allocated Pay Employee 1 ...Show All
Visual Basic Programatically select items in LitBox
I know this is a complete newbee question, this is becuase I am new to VB, how would I go about programatically selecting items in a litsbox I need a quick way for the user to be able to select all items in the list. Thanks in advance To select all items and keep selected item focused and visible try this: void SelectAll() { //do whole operation within one update lb.BeginUpdate(); int topIndex = lb.IndexFromPoint(0, 0 ...Show All
