Software Development Network Logo
  • VS Team System
  • Windows Vista
  • Smart Devicet
  • Visual Basic
  • Visual Studio
  • SharePoint Products
  • Visual FoxPro
  • Microsoft ISV
  • IE Development
  • Visual C#
  • Audio and Video
  • Windows Forms
  • Visual C++
  • Game Technologies
  • SQL Server

Software Development Network >> Donnie H's Q&A profile

Donnie H

Member List

Annihil8
bola shokry
arkiboys
Chefbrenner
LauraB
Colin Reid
Cang Sam
Manuk
George Clingerman
amendez
WilfridB
kevow
Herru Perdana
dgolds
pjtaylor
lysy95
DOSrelic
Mark_Davies
Hassan Ayoub
Malleswar
Only Title

Donnie H's Q&A profile

  • Visual Basic My program dont stop when an error occurs

    Sometimes in my program, when i run it in visual studio and there is an error, it dont stop and show the debug window. Instead it just exits the sub where the error is and continues. Is this some function i can set to on/ off What exactly do you mean by "error" and how do you know that one is occurring   Can you show an example in your code of where this happens ...Show All

  • SQL Server ADO Connection to MSSQL Server 2005... Need help

    Hi, at first a few things about my system: I use Visual Studio 2005 Pro on WinXP SP2 and I have recently installed MSSQL Server 2005 Express on my system. I want to establish a connection to the MSSQL Server from C++ (not .NET) using ADO. For this I use the following connection String: Open(L"Provider=SQLNCLI;Server=FREECASTLE;Integrated Security=SSPI;DataTypeCompatibility=80;MARS Connection=True;",L"",L"",ADODB::adConnectUnspecified); This works. But this is not exactly that what I wanted, because here just my Windows Authentication is used. I want to be able to pass username and password for users that are allowed to access the SQL Server. Here my first confusion begins: I have the option to pa ...Show All

  • Visual Studio Tools for Office Displaying Word Documents Within C# Forms

    Hi everyone. In our project, We have the following scenario: We create Word 2003 XML documents on the fly from certain data, And present this document to the user for preview in the following way - A form containing an AxBrowser control is loaded (basically wraps the IE engine unless im wrong) and we navigate that control to the location where the .xml sits. Now, With word 2003 and the registry value EditFlags set-up correctly, The control does successfully render the document inside it. Lately, We have been testing word 12 out to see if it fits us and migrating does not hurt current business logic, And we were unable to mimic this behavior - The class Word.Document.12 does not contain the same registry value and the document, When n ...Show All

  • Windows Forms Form.InvokeRequired fails

    I have created a Form loaded from an assembly during runtime in a separate thread with its own message queue This works fine and obviously the Form is created on a separate thread (I debugged this) still Form.InvokeRequired returns false and the CreatedThreadID of the control is actually the same as the one from the main form of the application which is created on the main thread. Anyway the property Thread .CurrentThread.ManagedThreadId returns inside a function of the Form called through Invoke something different than in the main thread, so Form.Invoke is able to identify the thread of the Form correctly, still InvokeRequired returns false. And - the same code works ok if the Form is not loaded from an external assembly during ...Show All

  • Windows Search Technologies Windows 2000 - vantagens

    Ola! Gostaria de saber que vantagens o Windows 2000 trouxe em relacao as versoes anteriores. ...Show All

  • Windows Forms Datagird

    i need a button that will delete the current row in a data gride view . So if cell 1,1 is selected the entire row will be deleted how can i do tihs in a datagridview, try this: this.theDataGridView.Rows.RemoveAt(this.theDataGridView.CurrentRow.Index); or: this.theDataGridView.Rows.Remove(this.theDataGridView.CurrentRow); does this help/work for you ...Show All

  • Visual Studio Express Editions VC++ 2005 Express edition - execute option missing

    Hello, I have downloaded the Microsoft VC++ 2005 Express edition and the corresponding service pack 1. I have installed them. When I start VC++ 2005, under the "Build tab", "compile" option appears. However "Execute" option does not appear. Currently I am putting breakpoint in the last statement in the main() function and running the application. What is the reason for "Execute" option not appearing under Build tab. Can someone kindly help in this V.Subramanian wrote: There are 4 views for this question I have posted. But I am unable to see the Views. So kindly send as reply to this post. Interesting. The number of views is a report on ...Show All

  • .NET Development {"That assembly does not allow partially trusted callers."}

    hey I'am a newby in SMO. I wanted to execute the following code: Private Sub Databases_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim svr As Server = New Server( "bebe\sql1" ) End Sub then i get an window, when I click on "view details" I get: System.Security.SecurtyException {"That assembly does not allow partially trusted callers."} Does somebody can help me out. I allready tried toe set the assembys to full access Thats a security exception based on a CAS policy. I will move the thread in the security forum which is more related to this. BTW: You will have to write either ( "bebe\\sql1" ) OR (@ "be ...Show All

  • Visual Basic quotes inside of a string variable

    how can I add qoutation marks inside a string for example dim text as string text = "I would like to qoute the next word "like" this" is this possible how do I go about doing it try: text = "I would like to quote the next word " & chr(34) & "like" & chr(34) & " this." the chr(34) is the double quote, i had problems with the "" jazz ...Show All

  • Visual C# C#console changed to a service

    Can someone lead me in the direction on how i should turn my console application to a windows service "To install it you need to call InstallUtil.exe and pass in the name (and likely path) of your service executable." This is my first time using a service...do i call the InstalUtil.exe at the command prompt ...Show All

  • SharePoint Products and Technologies Using PortalSiteMapProvider to show only sub-sites

    I've been asked to write a master page where one of the navigation elements will be a list of the sub sites to a site. Elsewhere on the page I've got another element which should be navigation for within the site as you would normally have, except without the sub-sites. Can this be done with the PortalSiteMapProvider, or am I into the realms of writing my own This blog entry explains how to customize the tree view to show only sub-sites. If you want 2 tree views simply copy the code to another location and change id's to so that your tree has a unique id and refers to a unique sitemapprovider. http://spstips.blogspot.com/2006/07/modifying-wss3-tree-navigation-control.html ...Show All

  • SQL Server Source code for Windows Forms Viewers?

    Any plans to make the source code of the Windows Forms data mining viewer controls publicly available ...Show All

  • .NET Development SQL simple parser

    Hello I'm newbe with reg expressions I want to build a simple parser to analize a SQL string. I only need to analize a SQL of type Select and get these groups: Select and From clauses Where clause (if any) without the where reserved word Rest of the sql string (if any) I have archived this with this reg expressions:: string Expr1 = @"(WHERE\s+(.+ ))(\s+ORDER BY.+|\s+GROUP BY.+|\s*$)"; string Expr2 = @"(\s+ORDER BY.+|\s+GROUP BY.+)$"; I get the select clauses with: SelectClause = SQL.Substring(0, m.Groups[1].Index - 1); WhereClause = m.Groups[2].Value; FinalClauses = m.Groups[3].Value; If no match is successfull (no where clause present) I try with Expr2 with similar process. But how can i do (if possible) to g ...Show All

  • .NET Development Bug in 2.0 SqlDataSource Object ?

    I think that I have stumbled across a bug with the SqlDataSource object. I am using the web control in a page and it is set up as follows. < asp : SqlDataSource ID ="dsFees" runat ="server" ConnectionString =" <%$ ConnectionStrings:LoanLevelConnectionString %> " UpdateCommand ="update brokeredLoansFees set amount = CONVERT(money,@amount), feeDesc=@feeDesc where loannumber=@loannumber and feeDesc=@feeDesc" SelectCommand ="SELECT * FROM [brokeredLoansFees] WHERE (([branchId] = @branchId) AND ([loanNumber] = @loanNumber))" DeleteCommand ="delete from brokeredLoansFees where loannumber = @loannum and feedesc = @fdesc"> < SelectParameters & ...Show All

  • Visual Studio Express Editions how can i select startup to user control at start up

    I am new to programing and would like to know how to do the following. I have multiple use controls and i would like to select the control to show at start up from a combobox list. i would like to save the selected control to a usersetting so it will start up when the aplication is restarted. Thanks See my post on creating settings at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=717425&SiteID=1 ' Then try the code below Public Class Form1 ' Create a string setting named 'Ctrl' in the IDE ' Set it's default value to 'textbox1' or the design ' name of some other default control to work with. Dim OneTime As Boolean ...Show All

©2008 Software Development Network