shine's Q&A profile
Visual Basic Newbie Database Question
This is a very basic question, but I've wasted a few hours trying to figure it out already, so I'm groveling for help. I'm looking for basic code to help me open a database, read some of the contents into variables, and that's it for now (close the database). The database in question is a flat table in mdb format; 8 columns, 15 rows - each row is a record with a name (p01, p02, etc) and seven associated strings - pretty primitive. The 1st column ...Show All
Smart Device Development sql connection error
I am getting following error: Error 1 The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\Documents and Settings\Adnan\My Documents\Visual Studio 2005\Projects\Mobile5\Mobile5\Form1.cs 20 4 Mobile5 the line which caused problem is System.Data.SqlServerCe ...Show All
Visual Studio Express Editions Printing question ... print on angle?
How can I print a line of text on an angle ... say at a 45 or 90 degree angle or any angle for that matter Is this possible in VB express Thanks... Hi, Please go through the below post. Hope this might be of some help... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=181311&SiteID=1 Thank you, Bhanu. ...Show All
SQL Server Database locking issue
We have a table with an update trigger that we seem to be having unintended deadlock issues. The trigger, among other things, updates the same row that was updated to spawn the trigger. In our examples where we are encountering the deadlocks we are always doing single row updates on a unique clustered index. Originally, we seemed to be having a lot of unnecessary lock escalation occurring to the page and table level. We added a lock hint to t ...Show All
Windows Forms Need some event that occurs before "BindingSource.CurrentChanged"
I'm looking for a way to execute some operations before the record changes. I'm already using the "BindingSource.CurrentChanged" but I need some event that hapens BEFORE the record actualy changes. Does this event exists One of the things I'm trying to use this for is to prevent the user from changing record without saving the updates he has done to the data. Maybe there's an easier way to do that, but I'm thinking in use some 'flag' ...Show All
SQL Server adding a new data column (not derived) midway thru a data flow
I need to know what a table's max row Identity is part way thru a data flow. I can't get it at the beginning of the data flow. I need to either (1) add it to the data buffer part way thru or (2) set it into a package variable and then reference the var in a script component. I've not found a way to add a database column to the data buffer without doing a lookup for each row (too slow and not appropriate here) ...Show All
Visual C# Visual Web Developer Express Edition Book
Hello! Where can I download this book "Visual Web Developer Express Edition: Build a program now" by Microsoft Press Thank's. You could try http://www.microsoft.com/learning site. ...Show All
Audio and Video Development What is the good IDE Tool for iHD programming?
Hi, I'm totally new to this iHD / HD DVD world and I'm exicted that I found this forum. Hopefully I'll learn a lot from and contribute some opinions to this forum. My 1st question in iHD programming is what IDE tool should be used in programming iHD And my 2nd question is how to run / preview all 3 samples from HD DVD Programming Guide. Thanks, -mh Hi mh, Welcome, and glad to hear you're excited! :-) At t ...Show All
.NET Development USing Winsock in .net framework
i am currently doing a school project which requires me to convert embedded vb codes to .net framework. In embedded vb, the component WInsock was used. However in .net i was not able to find the component. Is winsock available in Visual Studio where i can drag and drop Are there other alternatives to using WInsock Please help. Thanks. Thanks for the advices. However i am stuck in this one area, when I used ...Show All
Visual Studio Express Editions disable the hotkeys in VB.net how ?
hi i'm looking for help, I'm having problems figuring out how to disable the vb.net application hot-keys, the problem is i have a application and inside i have a browser pointing to a html file, i found out i could open a new window by pressing ctrl +n and so on, i don't want people to be able to see where the html file is coming from, i hope you understand. below is a code i tried, didn't work :( ========================================== ...Show All
Visual Studio Visual Studio 2005 Tools for Applications
You have stated that VS Tools for Applications is due for beta release early 2006. Can you be more specific about the time frame e.g. do you mean January 06 or might it be later. I have a project that requires it ASAP. Thanks The latest information is at http://msdn.microsoft.com/vstudio/extend/vsta/default.aspx , which states that Visual Studio Tools for Application will ship in the second half of ...Show All
Software Development for Windows Vista Retrieving current state
I am running an ASP.NET site using WWF, I've chosen to implement a StateMachineWorkflow. In several samples I've seen, navigation between pages is done by Repsonse.Redirect(). In stead of using this mechanism (which seems to me hard to maintain), I would like to ask my current workflow its current state and then navigate to the corresponding page. How can I get a reference to the instance of the workflow I started an is currently running I tr ...Show All
Visual Studio 2008 (Pre-release) Resource Dictionary
Hi, We're can I find a good guide/tutorial on using the resource dictionary That said, when modifying a control's control template, and putting it into the .Resource in a XAML window, it causes Cider not to be able to display the page anymore in the design view. Very frustrating. Will using a centralized resource dictionary fix this Thank very much, Jaco Hi Jaco, You will find articles on my blo ...Show All
Visual C++ Linker error:LNK2005
HI, I am getting a linker error in the case of DEBUG. In the release build, successfully build. This application is a dll and using "Use Standard Windows Libraries" in Use MFC option in project setting. In a build log following settings are: Debug Setting: Linker->Input: setupapi.lib DelayImp.lib version.lib /NODEFAULTLIB:bufferoverflowu.lib delayimp.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole ...Show All
Visual C# net mail namespace and SMTP
I know that this has been asked before, but I've tried all the answers and haven't found the answer yet. I'm trying to send email using C#. My code works great on my local machine - no problems. But when I publish to my 2003 server, it won't send. There are no errors, all the other scripts execute ok, but the email doesn't come through. Here's my code ===================== MailM ...Show All
