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

Software Development Network >> Tony Long's Q&A profile

Tony Long

Member List

Albert_Bouwman
nole12
tarheit
smaynard123
Matteo Chiesi
ilr
melc
Mary3480
StuartPreston
sunilkumar
Andranik Khachatryan
hengemd
tsprks
Rocksie
Sandman13
Bottom Rope
c.f.ong
ebv011
Enzima
darach
Only Title

Tony Long's Q&A profile

  • Visual C++ Copy to Clipboard

    My program generates a text (picture) and I want to copy it to the clipboard so that the user can paste it into word or excel. Waht command should I use I do not want to copy into file. Is ther a difference between text and picture COleDataObject GetGlobalData() http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/windowsuserinterface/dataexchange/clipboard/clipboardformats.a ...Show All

  • Smart Device Development .Net CF 2.0 How to Run App when it get synchronized with PC ?

    HI all, I wanted to start and run my application in back ground when PDA is connected PC it get synchronized with PC. Is there any provision to achieve this in .Net CF 2.0 Thanks Jayakumar A You may use CeRunAppAtEvent to run an app on the mobile side. You may use HKEY_LOCAL_MACHINE\Software\Microsoft\Windows CE Services\ AutoStartOnConnect registry key to run application on the desk ...Show All

  • SQL Server SQL 2000 and 2005 on same server

    Does SQL Server support instances of SQL 2000 and SQL 2005 on the same server If so - are there any instance naming standards to follow for this scenerio Thanks -J This is fully supported. Keep in mind that named instances cannot be named DEFAULT, MSSQLSERVER and has a limit of 16 characters, among other rules (see BOL) ...Show All

  • Visual C# GDI form transparency problem

    I'm trying to draw a transparent form using GDI, by overiding the OnPaint and OnPaintBackground event handlers. This technique works well enough on the first draw,and it produces a nice result, however, on subsequent draws, it works less spectacularly. For some reason, the screen is never cleared, and when it redraws the new things are composited ontop the previous draws, making the transparent images darker and darker. Here is the contents of ...Show All

  • Visual Studio Express Editions Behaviour of Left() function

      A few months ago, I wrote an .HTA application to make life a little easier on the job.  As I look at expanding the capabilities of this application, I am considering a move to VB.  The following code raises a design time error: Error 1 'Public Property Left() As Integer' has no parameters and its return type cannot be indexed. \Visual Studio 2005\Projects\frmRMCxpress.vb 9 12&n ...Show All

  • .NET Development Problem activating VisualStudio.NET

    Hi everyone, I'm having a problem re-installing my Visual Studio.NET Academic. As some people do, I have had to re-format my computers hard drive a couple times in this year. It's probably obvious I would also have re-Installed Visual Studio.NET a couple of times too; the problem is I've activated it a couple times in the process and it now tells me I cannot activate anymore. It comes up with an error that states: According to the ...Show All

  • .NET Development Discovering named instances

    Given: VB.net .Net Framework 1.1 In my program I use ODBC:SQLDataSources to discover available SQL Servers. I have recently realized that my code does not discover the Named Instance of SQL2005 which runs along side SQL2000 on my machine. I believe that .Net Framework 2.0 has a new function for SQL Server enumeration but I need to remain at the 1.1 level for some time. Is there a better way to discover SQL Servers which will discover the N ...Show All

  • Visual Studio Team System Do not indirectly expose methods with link demands

    the following code generates the warning "Do not indirectly expose methods with link demands" indicating that charkey = (int)m.WParam is the problem. It is a method in a control which is derived from TextBox. I have tried adding a try block and catching SecurityException and adding an assembly reference for the EnvironmentPermissionAttribute but I still get the error. Having read FxCops suggestion for fixing the problem I am still not entir ...Show All

  • Visual C# explorer / desktop bar

    Hi, Does anyone has a sample code for developing internet explorer or desktop explorer using C# just like google toolbar and google desktop search bar Many Thanks, Jassim Rahma   ...Show All

  • Windows Forms Form Navigation

    Hey Guys, I am wondering who can help me out.... I would like to make an app using C# and windows forms, that will work something along the lines of the usual windows setup programs.  That is, you start, get asked for some info, click  ...Show All

  • .NET Development Making dataset instances invisible to COM

    Hi There, I've got a C# assembly that's marked for COM Interop Registration. It contans a dataset definition. When I look at the TLB file generated for the assembly, the object is included. (for example, if the dataset is called AlphaDS, there's a default interface generated for the dataset called _AlphaDS, and a coclass entry for AlphaDS) I'd like to mark the Dataset as COMVisible(false) so it doesn't show up in the TLB. I could mark the ...Show All

  • SQL Server Using variable in Web Services Task

    Hi all, I would like to ask how I can use the variable as the input parameter of web services task. In microsoft 's document, http://msdn2.microsoft.com/en-us/library/ms187617.aspx , It suggests the for the value, If the Variable check-boxes are selected, select the variables in the list to provide the inputs; otherwise, type the values to use in the inputs. but I cannot find such Variable check-boxes. It just want to know how I can ch ...Show All

  • Visual Studio Tools for Office Problem altering/saving moved MailItems in Outlook VBA

    I am writing some mail filters using VBA for Outlook 2003, and I have hit what I believe is a bug in Outlook, but the workaround is not apparent to me. When email arrives, I am processing it using my code, launched from the built-in Outlook Rules as a script. This works fine. The problem arises when I choose to run my rules on, say, another folder. I found that any items of mail that have been flagged as complete cannot be moved, and I encount ...Show All

  • Visual C# Web Application Problem

    Hi, I would like to know how can I run a ".bat" file trough my web application, I tried using process but it doesn't get the argument... Here is the part of the code.. System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.EnableRaisingEvents= false ; proc.StartInfo.FileName="C:\\Inetpub\\wwwroot\\Webshell\create.bat"; proc.StartInfo.Arguments="Pasta1 Pasta2"; proc.Start(); But it does not work, if I paste the comm ...Show All

  • Visual C++ DECLARE_DYNAMIC and IMPLEMENT_RUNTIMECLASS macros in VC8

    I have migrated one project from vc6 to vc8. In MFC they have added GetThisClass function under RUNTIME_CLASS now my project is not building. #define RUNTIME_CLASS(class_name) (class_name::GetThisClass()) static CRuntimeClass* PASCAL GetThisClass(); //////// VC8 afx.h file #ifdef _AFXDLL #define DECLARE_DYNAMIC(class_name) \ protected : \ static CRuntimeClass* PASCAL _GetBaseClass(); \ public : \ stat ...Show All

©2008 Software Development Network

powered by phorum