Software Development Network Logo
  • Microsoft ISV
  • Visual Basic
  • Windows Forms
  • Architecture
  • VS Team System
  • Visual Studio
  • Visual J#
  • Smart Device
  • Game Technologies
  • .NET Development
  • Visual FoxPro
  • VS Express Editions
  • Windows Live
  • SQL Server
  • Windows Vista

Software Development Network >> Larry Foat's Q&A profile

Larry Foat

Member List

windows form parking window
Diggers
Hjemser
Rob Adrian
Hua Chen - MSFT
Jomo Fisher MSFT
Omer van Kloeten
Preposterous
sjc1776
BarryJones
Hamp Turner
Kent Waldrop Fe08
Andrew D
Trish
dano992
kilis
Jordy Boom
Demented Devil
Krueger
wndii
Only Title

Larry Foat's Q&A profile

  • Software Development for Windows Vista Windows Vista Scanner Recommendation

    I am looking for an inexpensive scanner that is compatible with Windows Vista. Any suggestions would be appreciated. ...Show All

  • .NET Development ADO.Net-Insert, Update, and Deleting Records

    Everyone, I'm having a crisis inserting, updating, and deleting records in my DB using ADO.NET. I'm sincerely hoping someone, anyone, can help me with a solution.  I've searched the forums and related resources and have not been able to come up with a fix.  Here's the problem: I have a form with five text boxes and one combo box.  The data set (DataSet1) and corresponding table adapter (TableAdapter1) were automoatically generated in VB Express 2005 beta 2.  I've verified the TableAdapter has all of the appropriate SQL commands to Insert, Update, and Delete records to the DataTable in a SQL 2005 Express database ...Show All

  • Visual C++ Error while compiling C2664

    Hi, I have this piece of code which I am trying to compile in VS 2005. ///////////////////////////////////////////////////////// CComBSTR combstrEventGroup = bstrEventGroup; hResult = ::UuidFromString(combstrEventGroup, &uuidEventGroupNr ); ////////////////////////////////////////////////////////////// Error: error C2664: 'UuidFromStringW' : cannot convert parameter 1 from 'ATL::CComBSTR' to 'unsigned short *' This compiles OK in VS 6.00 but it gives an error in VS 2005 (The project setiings has _UNICODE & UNICODE defined). I am using VS2005 Version 8.0.50727.42. ...Show All

  • Visual C# Conversion Problems VB Terms Not familiar

    Hi everybody,    I have problem converting this vb.net ocdes into C#. Terms like shared, synclock and friend. What is their exact equivalent in C# I got this sample from another forum. I try to attached the codes. some codes: Code: What is shared in C# in method and variable Private Shared Function CheckWindowsNT() As Boolean ' ritorna true se e windows NT o 2000 o XP If Environment.OSVersion.Platform = PlatformID.Win32NT Then Return True End Function What is Friend accessor in C# Friend Sub Add(ByVal zone As CustomTimeZone) _Zones.Add(zone.ID, zone) End Sub What is replacement for SyncLock in C# If Zones Is Nothi ...Show All

  • Windows Forms drawing on a form from within a seperate function

    Are there any examples of using CreateGraphics() inside a function, seperate from an Windows Forms I have a function that loops - every time it does, I need to draw a red rectangle : Graphics* gr2; gr2 = cc->CreateGraphics(); SolidBrush..... gr2->FillRectangle(..... I get object reference not set to instance of object - I thought cc is an instance inside the Form declaration : public: static System::Windows::Forms::Control * cc;   // not sure if this is legal... public: static System::Drawing::Graphics * gr2; Any help would be very much appreciated. Regards, ak Here's the exact message ...Show All

  • Visual Studio Express Editions Can't install any Visual Studio Express program

    I've tried downloading the programs from the website (VWD, VC# etc.) but the installer always stops at this point: http://img478.imageshack.us/img478/2791/error6ma.png Anyone have a reason why Thanks. The first steps will be to make sure that you have an updated windows Operating system, complete a windows update just to make sure. Then I would check to make sure that you have all of the min req for the software. One done you can help the setup by installing some of the software first, for example install th ...Show All

  • Visual FoxPro my SQL passthrough problem

    Good day to all, could i ask where i got wrong with this code , because when i run the .prg for this code, at first try it won't work, then the second time around it works, as if no error. Like when you open VFP, then at the command window you execute the do command, it won't work, but at the second or 3rd try it works. Please help...thanks in advance LOCAL lcConnect STORE 0 TO lcConnect STORE SQLCONNECT ('My SQL Server Connection','' ) TO lcConnect && to determine if u r connected to the proper server. IF lcConnect <= 0 && if you can't connect to the specified server then exit. = MESS ...Show All

  • Windows Forms Can a control access the DOM?

    Is there a way I can reference objects within the HTML in which my control is embedded   I'm developing a user control and marking it for COM Interop so I can embed it as an ActiveX control.  I would like it to be able to interact with other objects on the page. Any ideas would be heartily appreciated. Todd Gray OK. That's&n ...Show All

  • .NET Development Get Class and property name form an instance property

    Hello, It is possible to get Class and property name like it is on the code sample Take note on the comment inside the getNames method. Public Class x    Public Property y()    Public Property z() End Class Public Class UseClass    Dim ClassToGetNames As x    Sub New ()      Dim ClassName, PropertyName As String     getNames(ClassToGetNames.y, ClassName, PropertyName)    End Sub    Sub getNames( ByVal MyInstance As Object , ByRef ClassName As String , ByRef PropertyName As String )      'Here i w ...Show All

  • Visual Studio Installing VS2005 web service on system with TFS/WSS

    We would like to install VSS2005 on the same system as Team Foundation Server. I have installed it and am having trouble accessing the server via Internet plugin from VS2005. VSS2005 works and I can access the database on the server from VS2005 using the regular plugin just fine. I enabled the database for Internet access, setup sharing/authentication per Alin Constantin's instructions. I went into WSS server confg and excluded the SourceSafe path. I can browse to the server asmx page and get the runtime error. But when trying to access the server from the plugin I get "A connection with the server could not be established x80072EFD ...Show All

  • Visual Studio Express Editions odd textbox behaviour - bug?

    I have a controls on a form bound to a binding source.  The first control (textbox) is my auto-number field and is read only.  I also have a function that clears all the controls (textboxes, combo's, and date pickers) on the form when a user deletes a record or clicks the "add new" button.  After this occurs, the focus is put (not by me) on the auto-number field textbox.  From that point on I am not able to get out of the textbox unless I stop the debugger and restart the program.  Its like it is stuck in the textbox.  I have tried taking the tabstop away and as long as I don't click in the textbox I am ok. ...Show All

  • .NET Development culture class

    can i get some sample code using culture class, plz & some important methods used in it. thanks.... Try this forum: .NET Base Class Library ...Show All

  • Visual Studio Express Editions Can't start visual C++ Express

    After i had downloaded the visual C++Express with keeping the old version (visual Studio c++)on my pc ididn't find the (.exe)which starts the new one ...Show All

  • Software Development for Windows Vista Workflow published as a WebService + persistence required in Beta2

    Hi all, In moving over my workflows from beta1 to beta2, I did the publish as a webservice and all worked fine. If I have a very simple 'sample' wf as a webservice (i.e. 2 shapes, WS receive + WS Response) it works fine (without persistence) However when I start to build my more complex ones - the WebService complains that there's no persistence service added..... Question: What determines whether I need a persistence service or not added to a WS Is it based on datatype e.g. XmlDocument I ideally dont want any persistence here (it's being looked after by BizTalk2006) Many thanks for any light shed -- further to add - ...Show All

  • .NET Development SqlDataSourceEnumerator.GetDataSources can't return the Instance name and Version information on firewalled computers

    Using SqlDataSourceEnumerator.GetDataSources Method, I can search the available SQL Server instances on my intranet. On the MSDN help, it says that this method will return a DataTable object that has information about visible/available SQL Server instances, and this includes the SQL Server's Version information. If the instances of SQL Server is on a firewalled computers that have Windows XP SP2 firewall or Windows Server 2003 SP1 firewall, the Datatable could not return the InstanceName and Version information. I've tried to make exceptions to the Windows Firewall by opening TCP port for SQL Server, port #1046 and #1433. I've ...Show All

©2008 Software Development Network