Alina_Dorfman's Q&A profile
SQL Server Trouble With Inserting Record into SQL Server 2005 Express via Visual Studio
I'm hoping someone can help me with inserting records into the DB (SQL Server 2005 Express Edition) for my app. Below is the code that I used to establish an OK button to insert records into the database. When the user click on the OK button, a message box opens confirming the user wants to save the changes. When the user clicks on the "Yes" button in the message box, the record is supposed to save to the database. The table I'm trying to save to is called "Training" and the corresponding table adapter is called "TrainingTableAdapter2." The data set is called FIRMDataSet1. I first tried the update command i ...Show All
Smart Device Development MFC 3.0 and VS2005
I have an MFC base project (main app , 5 dlls and 3 static libraries and several external (third party ) dlls) that has progressed from PPC 2000 to wm2003 without major problems, until now. I've encountered all of the problems outlined on this forum (and more). Originally all I wanted to do was debug the app to see why it didn't run on WM2005, I then found out that a major rewrite was necessary to just get it to compile , much less link with the third party dlls. While I'm willing (not happy) to make the changes to my application that are necessary to move to WM 2005 , I don't want to have to distribute the MFC/ATL 8.0 dlls to WM2003 devices ...Show All
SQL Server How to get a row committed
I have a package loading up rows of employees from an excel file. An employee may be in the file multiple times. The package does a lookup and if not found it inserts the employee. When the employee is found it does an update. So in my file employee A gets added on the first occurrence in the file. On the second occurrence, the lookup does not find the employee and tries to insert a second time and I get a unique constraint. How do I make the first insert Commit so that it is seen by the lookup on the second occurrence. thanks I assume you are using the OLE-DB Destination. Open the component UI, and ensure you have select ...Show All
Microsoft ISV Community Center Forums Provider cannot be found its not correctly installed
Hi, I developed one application using VB6.0, datbase as SqlServer and Operating System is Windowsxp.that application i made as exe.when i was executing the application its properly running in those operating systems windows95/97/2000. But when iam executing another windowsxp system means iam getting the error like this. Error :3706 Provider not found its not installed properly can anybody help to slove this Hi, Is the OS 64 bit Also which provider are you using Can you give the connection string Regards, Mahesh B. ...Show All
Visual Studio Team System Custom "FxCop" rules in VS 2005 Code Analysis?
I've written several custom FxCop rules that I want to use with VS2005's Code Analysis engine, but I can't find any way to add-in my custom rules assembly. I know Beta 2 doesn't have all the documentation yet, but can someone tell me how to build a custom rules assembly for VS2005 and get it installed for use in a project Thanks! Hello, Thanks for the reply Michael, that solved my problem. If the xyz.xml file is embedded into a project in the namespace a.b.xyz then "a.b.xyz.xyz" (notice 2 xyz's) needs to be passed into the base class constructor. Thanks, Sunil Chiluveru. ...Show All
.NET Development WebClient connection delay
Hi, I dont know if anyone else has noticed or commented on this, if so please point me in the right direction. I am having a major problem getting the webclient class or any http classes to perform as well as IE. They download files, but there seems to be a huge lag while connecting and i'm not sure if i am setting something wrong. Any ideas would be appreciated. Can you post timing results that show this. I have numerous projects that use WebClient to connect to web and I use them in both web and applications and they perform robustley with negligible performance difference. have you also tried using Ht ...Show All
Visual Studio 2008 (Pre-release) i need to download latest makecert.exe & certmgr
hi there, i dont have makecert.exe in my system can sombody point me to a location so that i can download one. just the makecert.exe. and certmgr.exe my internet connection is slow so.... thanks prasanth These are present as a part of the platform SDK Tool, also if you have visual studio 2005 you can find it here. C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin ...Show All
Software Development for Windows Vista HELP! shell extensions on Vista
i'm having a hard time getting my shell extension to load in Vista. The same extension registers and loads fine on XP, but not Vista. Something must have changed. I had a go at building and installing the sample extensions from dino E's shell book ... they failed to register ! Vista is disallowing regsvr32 to write the usual shell extension keys out... I'm logged in as Administrator. I have even tried it from a CMD box 'run elevated' - no joy.... ok so how does this work in the new World PLEEEASE will someone from the microsoft shell team step in and show me how to register and install a shell extension on Vista 5270. thanks & ...Show All
Visual Studio Express Editions Starter Kit Documentation Pages
When creating a new project from a starter kit, the starter kit documentation page is displayed when the project is created. After I close VS Express and re-open the project, the documentation page is displayed as HTML source. Is there an option somewhere in the IDE that can force starter kit doc pages to be displayed as rendered HTML and not as source The starter kit documentation is very helpful when creating a project, but decidely less so when displayed as HTML source. Unfortunately there is no way for this to come up again automatically, but you can bring it up yourself by right-cllicking the .html f ...Show All
Visual Studio Express Editions How To Loop On Rows From A Database Table
I want to loop on the rows from a database table, but I can't work out how to do it. So far, the code I have is: Dim sConnectionString As String _ = "User ID=myname;Password=myPassword;Initial Catalog=mydatabase;Data Source=123.22.44.35,1433" Dim objConn As New SqlConnection(sConnectionString) objConn.Open() Dim sSQL As String = "SELECT * FROM manufacturer_list" Dim objCmd As New SqlCommand(sSQL, objConn) So from there, how could I loop through each record Thanks. This is a good example. http://support.microsoft.com/default.aspx ...Show All
Visual C# Searching in PDF files
Dear All, I have a windows application that search in .doc and .pdf files, for the pdf files after adding reference to the acrobat, how could i return the whole text in a string Thanks in advance Regards Tamer Hesham Hey Tamer, I found an article for you and you should also look at the comment I opened for you, which references the iTextSharp component. http://www.codeproject.com/csharp/winsearchfile.asp df=100&forumid=189774&exp=0&select=1143970 Hope this helps. ...Show All
Windows Forms form freeze on panel load
I have one form and few panels. Each panel is user control and on load event it populates controls with data from database. The first time I load any panel it freezes for few seconds but after one panel loaded I load others it works smooth. What do you think I was wrong. It is bad idea to use threads in this case ...Show All
Visual C++ Errors when linking Managed C++ DLLs
I'm getting some strange output when I compile (or more accurately when linking) Managed C++ projects in Visual Studio 2005. I had started with a large project that was converted from the previous .NET (2003/1.1) MC++ syntax. However, I've been able to create the same effect with a few simple steps. So, if I create a new C++ "CLR Empty Project" in VS 2005; add some simple code (example shown below); change the "Configuration Type" to "Dynamic Library (.dll)" and compile I get a bunch of errors when linking (also shown below). Any ideas what this is and more importantly, how to solve it Code Example ...Show All
Visual Basic shDocVw.dll in VB.Net 2003
Hello in there... I'm having a small problem that's eluding attempts to resolve. I'm creating HTML in BuildCreateExportFilesResults(), which I'm writing to a file on the local hard drive. I want to display it in the shDocVw.webBrowser, but I can't make it work. Here's the code: Public Sub DisplayCreateFilesResults() Try m_strMsg = "" m_strMsg = BuildCreateExportFilesResults() '<-- creates a HTML page With fStreamWriter .WriteLine(m_strMsg) .Flush() .Close() End With strURL = Path.Combine(g_strApplicationDirectory, _ "DisplayProcFileResults. ...Show All
Visual Studio Manual creation of msbuild files hard using Microsoft provided schema
Hi, msbuild appears to be quite a nice tool and a decent replacement for nant. However, some things are a bit weird and/or hard to do. A few things that bother me at the moment are: it's hard/impossible to delete file(s) using wildcards - the "Delete" task will always blindly interpret the contents of "Files" attribute as exact file name; it appears that this could be solved by using "FindUnderFolder" task, but if that's the way to go it is unnecessary (IMHO) complicated "Files" attribute of "Delete" task is supposed to accept an array of Strings, but I am unable to make this work - only one file name is accepted and interpreted corr ...Show All
