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

Software Development Network >> DavideB's Q&A profile

DavideB

Member List

handyman9
altamash
Nirvana Pine
Yassi
ag1206
Dave9999
R2E
André Phillip
newbie911
Thomas2054
ING
KerryLW
bubsnt3
bballmitch
JRQ
DavidThi808
robhare
Andrew Grammenos
Paul Baudouin
R. John
Only Title

DavideB's Q&A profile

  • Visual Basic How to load a child form within MDI form's panel

    Hi, I a newbie here. Does anyone know the coding regarding my question Pls HELP........................ Basically i have a MDI form, and many child forms i wish to load many child forms at the same time and specify them to left bar, right bar and center Can you tell me how to slove this problem ...Show All

  • SQL Server Service account not being used to access remote resources

    I understand that the security model for access to external resources changed in SQL 2005. However I thought that if connecting via a SQL account then the SQL 2000 behaviour was used I however have the following situation. Running a BULK INSERT from a remote machine with a SQL user account fails with error Cannot bulk load because the file "...." could not be opened. Operating system error code 5(error not found). However running the same using a instance of SSMS on the server, connecting using the same SQL login, works. I know this is an impersonation/delegation issue however I don't know what needs to be impersonated. To add to the woes this is an NT4 domain. This is not in an windows 2000 domain. I am not ...Show All

  • Visual Basic Cross Form Control

    Hi, I have a graph on my main forum ‘frmmain’ the commands of which are controlled by Dim myPane2 As GraphPane = zg2.GraphPane I need to creat a new forum called ‘frmoptions’ so that the user can change things like the graph title etc, how do I gain access to myplane and all it’s controls though the new ‘frmoptions’ such that the following code in my ‘frmoptions’ would work and change my graph on my main forum ‘frmmain’ Dim myPane2 As GraphPane = zg2.GraphPane myPane2.Title.Text = titletxtb.Text.ToString ‘ This text box is on ‘frmoptions’ myPane2.XAxis.Title.Text = xaxistxtb.Text.ToString myPane2.YAxis.Title.Text = yaxistxtb.Text.ToString if radiotbn = true then ...Show All

  • Software Development for Windows Vista SqlTrackingService did not work when the workflow is hosted by asp.net application

    I am tring to use SQLTrackingService to get the userdata with state machine workflow. It worked fine when the workflow was host by Windows application. But when the workflow was hosted by asp.net applicaton, the userdata was not saved to database. Does any body there know this is a bug If not, can some one provide a simple example for it Thanks for all the helps Jane Check the sample at Tom's blog http://blogs.gotdotnet.com/tomlake/archive/2006/05/17/600143.aspx ...Show All

  • Windows Forms changing text in the forms titlebar

    I have selection box on a form and when the selection changes I want to change the text in the title bar. New Item for: (name selected from combobox) e.g. from 'New Item for Fred' to 'New Item for Sue' Using C# I had expected to be able to do frmNewItem.Text= but I cannot find the .Text property. Any Ideas Hi Graham If you're inside the code of the form it's this.Text -- (in VB Me.Text) -- which refers to the current instance of the form as opposed to the class. HTH ...Show All

  • .NET Development Pdh functions do not work under Vista

    I am using the windows pdh functions like PdhCollectQueryData, PdhGetFormattedCounterValue to collect performance data. They are working fine under Windows XP. However, when I tried to run the same program under Vista, the program failed on those functions. Is there a known issue with those functions under Vista Or what is the correct method to perform the same functions under Vista Thanks for the response Willy! I was running the application under the administrator account and the issue still persists. Do you have any other suggestion Thanks, -Thai Le ...Show All

  • Visual Studio Express Editions TreeView: unselect item when clicking outside of tree

    Hi folks, this one eludes me... I have a treeview, with several nodes. If I click OUTSIDE the tree, I want the current selected node to be deselected, like Treeview.SelectedNode = Nothing. But I cannot find the event to trigger this... if I click in the white space, the currently selected node remains selected..... Any suggestions Thymen Private Sub cbExit_MouseDown( ByVal sender As Object , _ ByVal e As System.Windows.Forms.MouseEventArgs) _ Handles tvc.MouseDown If tvc.SelectedNode Is Nothing Then Exit Sub tvc.SelectedNode = Nothing End Sub ...Show All

  • SQL Server Problem in trigger

    hiii i am creating a trigger for insert ona table in .net and in that trigger i want that send a mail thrugh that trigger, and when i insert a record in that table in sql 2005 then the error comes this , plz tell me solution for this (14 row(s) affected) Msg 6522, Level 16, State 1, Procedure CalculateResult, Line 1 A .NET Framework error occurred during execution of user defined routine or aggregate 'CalculateResult': System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. System.Security.SecurityException: at System.Data.SqlServer.Internal.ClrLevelContext.get_WindowsIden ...Show All

  • SQL Server sql 2005 to sql 2000 linked servers problem.

    We have two sql servers using Windows authentication. One is sql 2000 the other sql 2005. When logged in as "sa", I can link these servers and run a SELECT distributed query without any problem. But when one of our developers runs the same query (he is "dbo" of each database on each of the servers) he gets the error: "OLE DB Provider "SQLNCLI" for linked server <Servername> returned message "Communication Link Failure" ... Login failed for user '(null'). reason: Not associated with a trusted SQL Server connection" Despite that, I, as "sa" equivalent, have no problem so it appears to be a permisisons issue. Any ideas what is going on here TIA, Barkingdog ...Show All

  • Visual C# How to convert C++ struct to C#?

    I’m currently convert VideoDriver class in TightVNC (VideoDriver.h, VideoDriver.cpp) to C#. I met a problem when convert some structs type to C#. C++ -------------------------------------------------------------------- typedef struct _CHANGES_RECORD { ULONG type; //screen_to_screen, blit, newcache,oldcache RECT rect; RECT origrect; POINT point; ULONG color; //number used in cache array ULONG refcolor; //slot used to pase btimap data }CHANGES_RECORD; typedef CHANGES_RECORD *PCHANGES_RECORD; typedef struct _CHANGES_BUF { ULONG counter; CHANGES_RECORD pointrect[MAXCHANGES_BUF]; }CHANGES_BUF; typedef CHANGES_BUF *PCHANGES_BUF; typedef struct _GETCHANGESBUF { PCHANGES_BUF buffer; PVOID Userbuffer; }GETCHANGESBUF; ty ...Show All

  • Visual Studio solution!

    Hi, Using Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual C# 2005 77626-009-0000007-41642 Microsoft Visual C# 2005 Microsoft Visual Studio 2005 Tools for Applications 77626-009-0000007-41642 Microsoft Visual Studio 2005 Tools for Applications Microsoft Visual Web Developer 2005 77626-009-0000007-41642 Microsoft Visual Web Developer 2005 Toolbox does not display most of the controls This is even after "Rest Toolbox", "Reset all settings", and "Import selected environment settings". I have also uninstalled and reinstalled three times. The only way it ...Show All

  • Software Development for Windows Vista Radio Button Automation in WPF

    hi, plz help me to automate the radio button in WPF. plz give me some code so that i can select the radio button in WPF application. there is not any good help availble in msdn for this. i need it urgently. plz plz help. I found I sample in the SDK, the animation one ( Animation Example Gallery ) uses radio buttons on the main window and they are animated. HTH ...Show All

  • Windows Forms Hoping for a clean uniform grey background on winforms application startup...

    two questions I guess. 1. On the startup of my application which has various windows forms controls and user controls, a few of the controls are visible (or at least their outline can be seen against the otherwise control grey background) and a couple of the controls are completely transparent to whatever happens to be underneath them. How can I code the form_load event or other relevant events to have all the controls emerge at once. are SuspendLayout/resumelayout don't seem to be doing the trick, if I understand their purpose correctly. I guess I don't. 2.. How can I iterate through all the controls on my form to at least test out different ideas. The docoument outline view shows all the controls that I would like to be able to app ...Show All

  • Visual C++ C++ code compiled with Visual C++ 2005 Express runs slower from the IDE

    I have noticed that my code runs slower when invoked from within the IDE. The debug code runs a small job in 21 seconds from the IDE (no breakpoints set) and in 6 seconds when invoked from Windows explorer directly. The release code runs in 11 seconds from the IDE and 1 second when run directly. For comparison, I tried the same code generated by Visual C++ 6 and got 14 seconds when running from the IDE and directly. Is there some setting that affects this I could not find any. Is this normal behavior for this version of Visual C++ Thanks, Peter Bite Qiu, Thank you for your response. It was very helpful. I would just like to clarify a couple of things before putting this to rest. ...Show All

  • Windows Forms detailed listview questions

    1) how can i write in a multiline way in a row in a detailed list view 2) how can i export a data listed in a detailed listview to: .pdf .doc .html invoke wrote: 1) how can i write in a multiline way in a row in a detailed list view 2) how can i export a data listed in a detailed listview to: .pdf .doc .html 1) I think there is a control that does this, out there on the net. Have a look on google. 2) You will need to link to other libraries that can write in pdf. Html would have to be coded by you, just export the data into a <table></table>. Put a table together in dreamweaver and you'll see how the notation works. ...Show All

©2008 Software Development Network