gleason78's Q&A profile
Visual Studio Exceptions Dialog not available
Hi, I am using Visual Studio 2005 Professional to develop a C# Windows Forms and Class Library solution. When I login with my normal domain user account (which is part of local VS Debuggers group, etc), I don't see the "Exceptions..." option on the Tools menu. If our network Administrator logs in - he does see it. Why is this I shouldn't need to be a machine administrator to catch use a debugger or catch exceptions Thanks, James The difference is based on the user profile you selected when the IDE first started. Go to 'Tools->Import and Export settings' if you want to change your profile to something dif ...Show All
Visual Studio Team System Detailled Error Stack Trace in Unit Test Results
How can i view a detailled error stack trace of a unit test (e.g. stack trace with line numbers and the possibility to jump directly to that line) The "Error Stack Trace" Column and section in the Test Result view does not even show the line number. thomas Can you get line numbers in a stack trace without deploying a pdb file in a production release ...Show All
SQL Server Query the Full-Text Words List?
Hi Guys. I’m doing searches in a DB and am using the Full-Text Indexing. CONTAINS() will only process strings (words!) three letters or more in length. Even though it can do substring searching, it will only do this if it recognises the parameter as a word . So take this code for example: Dim mySQLStatement As String = "SELECT TOP 100 Description, Price, Stock FROM Products WHERE " x = Split (strString, " ") For i = 0 To x.GetUpperBound(0) & ...Show All
Visual Basic connect to sql server
hi friends, i am unable to connect to sql server . my code like this dim myconn as adodb.connection start = "provider=sqloledb;data source=myserver;user id='myname';password='ss'; initial catalog='master'" myconn.open start can anybody help me in this favour thanks khaleel Is that the exact code you are using (minus the password and user name of course) Because on line: start = "provider=sqloledb;data source=myserver;user id='myname';password='ss'; You have an opening double quote but no closing double qoute. And since you are putting it in a string you need to close i ...Show All
Windows Forms printing datagrid
hi. does some one knows how can i print all the records in my datagrid, including the once i have to scroll to see Thank's hey i have that code, and i can give that to you, just send me ur e-mail add. at majnoo@msn.com the subject should be "we talked on windows forms" ok, i m in a cafe, i'll collect and send that to&n ...Show All
Windows Forms FolderBrowserDialog
Hay folks. Last evening I succesfully installed Visual Studio.Net 2005 Beta, so I converted my main project to it. Strangly enough this 2003 project on some files there was need to change line-ending to: Windows( ) <cr><lf> ( ) A bold translation made me deactivate some debug statements. However in one of my methods I use <strong>FolderBrowserDialog</strong> th ...Show All
Visual Studio Express Editions Cant create new projects?
When I start a VB 2005 Expres edition and tries to build a new project I recive a error message " The filename, directory name, or volume lebel syntax is incorrect. (Exception from HRESULT: 0x8007007B) " How can I fix that Thanx Hi, I'm completely new to this and am having the same problem you were having, only have no idea what my username is and how to change it HELP please!! It's important i get this working!! Thanks! ...Show All
SQL Server Provider for OleDb\Microsoft OLE DB Provider for Visual FoxPro
I am using OleDb\Microsoft OLE DB Rpovider for Visual FoxPro for my Data Source Connection and it includes the deleted records from the Visual FoxPro database, how can it have it ignore the deleted records HELP! Thanx Moshe Rob, Just to pass on a tip - make sure you're using the latest OLDB version 9 driver, it's a lot faster than version 8, even if you have version 8 FoxPro tables. You can get it at the MS download centre: http://www.microsoft.com/downloads/details.aspx FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&displaylang=en Using SQL statements is the appro ...Show All
Windows Forms How can I check if there computer is connection to Internet?
Hello, My question is: How can I check when the application starts if there is a connection available with Internet and if there is no connection how can I raise the default connection for the computer thank you. Here is a code sample that will work in VB: If My .Computer.Network.IsAvailable Then 'network is available Else 'network is not available End If ...Show All
.NET Development How to set InsertCommands?
Hi! This is a rudimentary question. How to set parameters to Command There is a simple Table(contains 3 Columns uses Access), named "Individual". 1. FamilyID (auto numbered) 2. Householder 3. FamilyMemo I made following Code by way of experiment. But, it doesn't operate as I think. I wanted to insert a new Row... ! // Load da = new OleDbDataAdapter(); cn = new OleDbConnection(); ..... // Displays on the DataGrid1 cmd = new OleD ...Show All
.NET Development How do I retrieve distinct DataRows from a DataTable?
I'm trying to retrieve a set of DataRows from a DataTable using the Select method. The catch is, I only want rows with a distinct column value. I'd like to know how to create a filter expression that would check a column for a distinct value, or another way to retrieve DataRows from a DataTable where I can get distinct values. I'd appreciate any help on the matter. hi, Here's a sample code that does exactly what you ask. http://codebetter.com/blogs/sahil.malik/archive/2004/12/26/39040.aspx hth, Michael Castillones ...Show All
Windows Forms User control and resizes!
I have an user control and inside him i have one label and 1 textbox! My problem is: When i'am in design mode (a new project with this user control), i want to: - If i resize the user control with the left ctrl key down the size of the label increses/decrease. - If i resize the control with the right ctrl key down the size& ...Show All
Visual Basic Saving settings (INI or registry)
Hi! I am developing a media player and I need to know, how can a user set settings and save them as INI or registry key (value) and exit the application. Next time they start it, the settings will be same. So, the settings will not reset, after the application restarts. What code do I have to do here's a quick example to saving to the registry. Dim value As String SaveSetting("AppName", "SectionName", "Keyname", "value") value = GetSetting("AppName", "SectionName", "KeyName", "DefaultValue") ...Show All
Visual C# collection of events ?
Hi there, i have a little problem: I'm developing a hardware interface for digital input signals and i'm looking for a good solution to fire events on signal changing. I don't want to declare an event for every input channel (since it could be a lot of them). I'm thinking more of an array of events, so every client could register for specific events (e.g. instead of OnSignal3() something like OnSignal(3) ) If anyone has an idea how to handle it, please let me know ! Would it make sense in your application to define a collection of InputChannel objects, each of which raises an event, such as ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Drawing 2d polygons with holes
Hi, I'd like to draw arbitrarily shaped 2d polygons, with holes, using managed DirectX. Do I have to write my own code to break down the polygon into triangles, or does DirectX provide this facility I can't see anything in the help that looks like it would do this for me. Thanks! I found a few algorithms kicking about on the internet. I even found one which makes use of an OpenGL tesselation utility function to render polygons in DirectX. However, I think I'll probably go with GDI+ instead. I initially found Windows Presentation Foundation too slow rendering a lot of 2d graphics, and was thinking about usi ...Show All
