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

Software Development Network >> nate-d-o-double-g's Q&A profile

nate-d-o-double-g

Member List

QuantumMischief
Chidu
Caliendo
Otto Ramirez
R.S.N
Peter Jausovec - MSFT
Yulia
MEW99
progames25
Tryin2Bgood
Can-Ann
mahima
Michael Chancey
ranasrule
JimmyS
XtremeISP
Quirk
Singersinger
fabianus
Burrough
Only Title

nate-d-o-double-g's Q&A profile

  • Visual Basic move to next row?

    Is there a way to programmicaly move to the next row in a datatable ...Show All

  • Visual Basic Returning UNC from Map Drive Dailog

    I am writing a simple form that allows the user to browse for and map a drive. I need to return the resulting UNC map from the function. To data I have been able to open the map drive dialog and return a one or zero. Here is the code: Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_mapdrive.Click ReturnValue = WNetConnectionDialog( Me .Handle, RESOURCETYPE_DISK) txt_servershare.Text = ReturnValue.toString End Sub Private Declare Function WNetConnectionDialog Lib "mpr.dll" ( ByVal hwnd As IntPtr, ByVal dwType As Integer ) As Integer Thanks for the quick reply. OK, stupid quest ...Show All

  • SQL Server FYI: Using Try's with Finally

    Within my script component I was having some difficulty getting nested Exceptions to bubble out of the script component logic. The symptom appears when you get an ex.message of "Object reference not set to an instance of an object." As soon as I removed the Finally section my message (or the actual Exception object) was properly passed to the caller. I've only done minimal work with Try/Catch/Finally structures. Is this normal Thanks, Jeff Tolman E&M Electric JazzGeek wrote: The problem comes when there is a Finally section after the Catch. The message that I throw up to the caller does not make it and shows up as the "Object reference not set to an instance of an ob ...Show All

  • Windows Forms Cannot Read .Text Property of TextBox

    I am simply trying to read the .text property of a TextBox in VS2005 but, even though I know there is text in there, no text is detected. I'm wondering if it has anything to do with the textbox being on a tabContainer in a SplitContainer. The textboxes are bound to data and the data displays on the form. My code recognized that the textBox is there but does not read the text: foreach (TabPage tp in tabControl_ProcA.TabPages) { tabControl_ProcA.SelectedTab = tp; if (tp.Name == "tabPage1_Cabinets" || tp.Name == "tabPage2_CylPipes" || tp.Name == "tabPage3_AngleIrons" || tp.Name == "tabPage4_Beams") { foreach (Control ctl in tp.Controls) { ...Show All

  • Windows Forms Detect Computer Restart

    Is there any way to detect whether this is the first time an application is running since the user has logged on to Windows There is a bit of functionality that I would like to reset whenever the computer is rebooted or the user logs out and logs back in and I would appreciate any information on how to detect this Thanks for the tips. Any ways of accomplishing this in a purely programmatic way - not including creating files in the Startup folder (that can very easily be deleted by the user) For example, is there a registry setting somewhere that gives a DateTime stamp for the last log in to Windows If there was, I could record the times in which the app was started and determine if there has been a recent ...Show All

  • Community Chat Gantt Chart

    I need Gantt Chart cnotrol for .net2.0 for winforms. Also check, if you want, DlhSoft Project Management Control Library (business logic-enabled Gantt Chart control(s): ProjectView [+ ResourcesView ]), and/or DlhSoft Project Data Control Library (data binding-enabled Gantt Chart control: GanttChartView ). ...Show All

  • Smart Device Development coredll.dll

    where is my coredll.dll I'm trying following api function [DllImport("coredll.dll", SetLastError = true)] private static extern bool KernelIoControl(Int32 dwIoControlCode, IntPtr lpInBuf, Int32 nInBufSize, byte[] lpOutBuf, Int32 nOutBufSize, ref Int32 lpBytesReturned); and following is the exception Unable to load DLL 'coredll.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) somebody please help me you are right Andrew, I am using Windows Mobile smart device. I am trying to create desktop application which can copy files to and from Windows Mobile. thanks ...Show All

  • Visual Studio Express Editions delete rows

    what is the code to delete a row from a database, the binding navegater has the delete function, but when i select a record to delete and press the delete box on the navegater i get an error telling me a must have a delelet command. what does theat look like, my database is working fine until i want to delete one. thanks (delete from recordstableadapter1)where (song)= newsong this gives me a syntax error, whats wrong with it, and could this be the way to delet my row ...Show All

  • Visual Studio Express Editions Update Combobox DisplayMember based on DataGridView CellContentClick

    OK, now that I have the database binding I need to accomplish the following: The Form.DataGridView shows the table info. When the user clicks a row, the CellContentClick event kicksoff creating a query that combines the "Last_Name, FirstName" into a new column called FullName. This then updates the DisplayMember value for the combobox to FullName. If someone could show me an example, I would appreciate it. Thanks! ahmedilyas wrote: however its best not to do this at the SQL end (to be more efficient) and do this at your presentation layer (client side) What do you mean by this That I should have it as the SQL statement in the DataSet or do it upon the CellConte ...Show All

  • Visual Studio Express Editions Problem binding Combo boxes to BindingSource

    I have a form which includes 6 combo boxes each box has been bound to different feild in the same table(SettingTbl) Using Combo Box tasks I added the setting as below to each combo box. Datasource SettingsBindingSource Display Member settingf1 Value Member settingf1 Selected Vaule SettingsBindingSource - settingf1 ect Once all the combo box where Bound to the same binding source and differnt feild names I exicuted my program and found that combo boxs all populated but when you change the value of one of them other box also changed there values . I spoke to a friend who suggeted that I need a fill and get select statment for each combobox and so I create them and tryed again . unfortunatly I have not been able ...Show All

  • SQL Server Convert row data into Column [Didnt get the exact result......]

    how we get the text() value. your always give half answer, ---------------------------------------------------------------------------------------------------- Youe Solution declare @query varchar(8000) select @query = 'select month ' + ( SELECT distinct ',SUM(CASE WHEN Status = ''' + status + ''' THEN Count END) AS [' + status + ']' AS [text()] FROM sometable s FOR XML PATH('') ) + ' from SomeTable group by month' select @query exec (@query) ...Show All

  • Software Development for Windows Vista Comments, Suggestions, Features and WHAT THE HECK WAS THAT!?

    Hopefully, that got your attention. We're starting to sketch out designs for the next version of CardSpace. I'm starting this thread and makin' it sticky so we can continue a dialog around new features. Now, I realize that CardSpace ain't even out the door yet, but the planning is beginning. I can't promise anything, but I can tell you that I'll listen, and I'll bring everything to the team. So, What do you want to see in the Next Version of CardSpace g Garrett Serack | Program Manager |Federated Identity Team | Microsoft Corporation blog: http://blogs.msdn.com/garretts At the moment managed card can only be imported from filesystem. It would be great to be able to receive cards from a ...Show All

  • .NET Development C# WMI Win32_EncryptableVolume Vista

    Am trying to get all encryptable volumes and then invoke methods through WMI. Here is the code causing problems: ManagementObjectSearcher oSearcher = new ManagementObjectSearcher("SELECT * FROM Win32_EncryptableVolume"); ManagementObjectCollection oReturnCollection = oSearcher.Get(); if (oReturnCollection.Count > 0) { foreach (ManagementObject oReturn in oReturnCollection) { Console.WriteLine(oReturn["DeviceID"].ToString()); Console.WriteLine(oReturn["PersistentVolumeID"].ToString()); } } When the debugger gets to: foreach (ManagementObject oReturn in oReturnCollection) I get an Invalid Class error. Any help or examples would be appreciated. Pleas ...Show All

  • .NET Development MS SQL2005 + ADO.NET + SSL problems

    Hi, I've the following problem. I wanted to make connection from client to my database secured. I changed settings in SQL Servers as I read in http://support.microsoft.com/kb/316898/ article. I generated certificates and installed them on clilent and server. Those was done. The I tried to connect to database with following connection string Data Source=ATON\\FastPayTest;Initial Catalog=FPOLAP;User ID=sa;Password=7777777;Encrypt=true and I've got an Exception: System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: S ...Show All

  • Visual Basic PrintForm does not Install via ClickOnce Deployment

    PrintForm works on my development workstation in both IDE & the application EXE installed from ClickOnce site. However, on 2 client PCs, both running Windows XP, the EXE fails with "Could not load file or assembly 'Microsoft.VisualBasic.PowerPacks.Printing.PrintForm, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified." During ClickOnce install: No errors. In fact, I can find no install log in C:\WINDOWS\Temp\Temporary Internet Files afterwards. No signing. No elevated permissions. gacutil finds Microsoft.VisualBasic.PowerPacks.Printing.PrintForm on my development workstation, but does not find it on a client PC. the e ...Show All

©2008 Software Development Network