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

Software Development Network >> Gary Schultz's Q&A profile

Gary Schultz

Member List

Ramon Casha
azouz
K.Rohit
Peter G Lin
vbdotnetguy
thomas_schmidt
Parrotboy
Cari Begle
idunkn0
blumonde
hYp3r
Tim Howard
SuperJon
Zach First
hberenguel
awake
dragonroll
Dundappa Kamate
Kollega
KiwiJohn
Only Title

Gary Schultz's Q&A profile

  • Windows Forms UserControl, child control, and scrolling

    Greetings, I have a custom user control.  Because I have a complex hierarchy of child object that can be drawn to the screen (potentially thousands of objects) I opted not to derive them all from Control/UserControl for various reasons.  Instead, they all derive from a custom class that has no base class (except object). The UserControl has AutoScroll = Tru ...Show All

  • Visual Studio Tools for Office Is it possible to link project # 1 to project # 2?

    Hi There, I have two applications: 1.  I have a windows vb.net application that I created using visual studio 2003 architect. 2.  I have a word application developed with Visual Studio 2003 Architect using vb.net and Visual Studio Tools for The Microsoft Office System.  My question is: Is it possible to link project # 1 to project # 2 so I can call project # 2 whenever I need it from project # 1 I will reallly appreciate your help. Thank you. Yady Hi, When I go to references of project #1,  I can see there is already project #2 in the list. What should I do nex ...Show All

  • Smart Device Development CeOpenDatabaseEx2 depricated?

     Under VC2005, Windows CE 5, when compiling for CEDB database I get the following error: error C4995: 'CeOpenDatabaseEx2': name was marked as #pragma deprecated According to the documentation, 'CeOpenDatabaseEx2' is not depricated. Without this, there is no way to compile for CEDB databases.   Have you seen this http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=11419&SiteID=1 ...Show All

  • Windows Forms DataNavigator and query toolstrip interaction

    I have a details screen with both a Datanavigator and parametric query toolstrip.  Howevery when I enter a query and display a table row in the details screen the datanavigation controls no longer function (ie I cannot step forward or backwards to other records).  After the query how do I allow the normal datanavigator functions to operate ...Show All

  • Visual C++ _tcscpy_s corrupts the heap

    I have the code below. If I compile it as is it works fine. If I change to using _tcscpy_s the heap is corrupted when I copy the string. Can anyone spot an obvious error here Thanks Mark void CRokuPage::AddDeviceToObject(HKEY hKey, LPCTSTR lpszClsid) { //Add the device into the new clsid devices key if (_tcslen(lpszClsid)>0) { HKEY hKeyDevice; if (ERROR_SUCCESS == RegCreateKeyEx(hKey, m_szDeviceUDN.Mid(5), 0,NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS,NULL, &hKeyDevice, NULL)) { DWORD dwLen = 0; DWORD dwType; LPTSTR lpszBuffer; LPTSTR lpszOffset; size_t nChars; if (ERROR_SUCCESS == Reg ...Show All

  • SQL Server Custom connection manager development sample?

    Does anyone has code/sample/tutorial/pointer to developing custom connection manager with a custom UI. And then developing a custom task with a custom UI that can point to this custom connection manager... and passing values during runtime from UI to the custom class. TIA, Nitesh I assume you mean a custom UI for the component not connection. You follow a similar pattern to tasks, but inherit from IDtsComponentUI Interface . Developing a User Interface for Components ( ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.SQL.v2005.en/dtsref9/html/10b829a1-609b-42e3-9070-cfe5a2bb698c.htm ) A sample is available from here, Ch 14 & 15 - Wr ...Show All

  • Smart Device Development ControlBox

    How would I execute code when the user clicks the controlbox (little x in the upper-right corner). for an example, if i wanted to display a form that prompts im the user really wants to exit when the x is pressed; or if i wanted to end the program instead of just closing the form when its pressed Well, you haven't specified a language. Are you using the compact framework, or is this in the wrong forum The event is FormClosing and if you set e.Cancel to true, it won't close. ...Show All

  • Visual Studio Express Editions Compiling 64bit with VC++ 2005 Express using PSDK

    This little guide I made is to make the VC++ 2005 Express compile 64bit using the latest PSDK (altough I'm not sure how good it works) I'll assume you already have VC++ 2005 Express and the PSDK installed, and activated the Win32 application building in VC++ and running 64bit Windows (well it maybe works in 32bit windows too but the exe will not run in that enviroment) 1) Start -> All Programs -> Microsoft Platform SDK for Windows Server 2003 SP1 -> Windows XP 64-bit Build Environment -> Set Windows XP x64 Build Environment (Debug/Retail) <- doesn't mather which one at this moment 2) start the VC++ 2005 Express IDE run the ...Show All

  • Visual Studio 2008 (Pre-release) Problem with Lab2 Reliable and Transacted messaging with ECF

    I am trying in exercise 3 task 4 - introducing uncertainty for which Reliable message can compensate... I encounter the following error message during build - The type or namespace "ChannelBuildContext" could not be found. Since I am using Feb CTP, I took a look at the Breaking change form Jan CTP to Feb CTP, I notice that there is a change in BuildChannelFactory. I just do not know how to get it to work. Can any one help The following is the code fragment: public override IChannelFactory BuildChannelFactory(ChannelBuildContext context) { InterceptorChannelFactory result = new InterceptorChannelFactory(this.in ...Show All

  • SQL Server SMO in VBScript

    I've been building some applets in VB.Net and wanted to try and do some similar things in VBScript. (I like to have a collection of scripts to do repetitive tasks.) Anyway, I'm getting an error when I try to set the connection info and am at a bit of a loss to get around the problem. Note that most examples of using VBScript and SMO together only connect to a local instance of SQL Server, so I've struggled with the method to define the server I'm attempting to manage. This method works in VB.Net, but returns the error 'Object required' when I set the object parameters to their desired values. Dim srvMgmtServer Dim srvConn Set srvMgmtServ ...Show All

  • SQL Server SQL Case limit?

    Hi, Just need to check with you on the following: sql 2000 sp3 sit in win2003 when we run the quere in server A.. it look okay with case expression more then 10 but when we run query in server B with linkserver to server A sql server give this message Msg 8180, Level 16, State 1, Line 1 Statement(s) could not be prepared. Msg 170, Level 15, State 1, Line 1 Line 1: Incorrect syntax near 'Qry1068'. Msg 125, Level 15, State 4, Line 1 Case expressions may only be nested to level 10. select distinct rp . invoice_id , CASE WHEN ( rp . product_group_code = 2 and c .catelog _id = 1 ) then 'PG' ...Show All

  • Visual FoxPro coming back to foxpro

    used foxpro 2.5 and now have visual fp.  am having trouble lwith iff and if then syntax.  i want to have user enter a zip code and then the city and state are filled in.  thanks for any help there are many 3rd party controls available that do this, you might save yourself a lot of time. I used one about a year ago, it was under $100.00 and worked very well. ...Show All

  • Windows Forms Text property

    Hi A simple question, but just for knowledge sake i want to know.. I have a custom control which is directly inherited from Control. I have overriden its Text property as follows private string FText; .... ..... public override string Text {                 get {           return FText; } set {          &nbs ...Show All

  • Architecture finding design patterns from Model or P.E file

    Hi,        Are there any tools or APIs that take a model (as XMI probably) or a P.E file (so in effect, source code won't be available) and give the design patterns that were used in the model Which classes participate in which patterns and related info It could probably be one of the stages in reverse engineering, isn't       Thank you. Hi, Could you help me I realy don't know this kind of implementation. [Singleton] public class Singleton { . . [SingletonAccessor] public static Singleton Instance { get { return m_Instance; } } } ...Show All

  • .NET Development IrDA in 2.0 .NET Framework?

    Will the IRDA assembly which is present in the 1.1 .NET Compact Framework be available in the 2.0 .NET Framework When is 2.0 .NET expected to be released Vikram, Yes all of this strongly suggests that System.Net.IrDA.dll will be included in 2.0. Thanks for your help!! Liam ...Show All

©2008 Software Development Network