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

Software Development Network >> Spence-FHS's Q&A profile

Spence-FHS

Member List

AdrianGodong
Sunil_Kumar_63c25f
bk13
ChrisCo
CFIG
saulotmalo
sjb31988
Mutola
Bob.H
Tom25
ea1
TonyX852
JonAkaJon
kuankuo123
codequest
Ranal
Michael J. O.
Rajesh_N
Jim Butts
Ajaidas
Only Title

Spence-FHS's Q&A profile

  • Windows Forms Run application after installation.

    Hi all. How I can run my application after press Exit button in installation wizard I`ve made Install class with overriding OnCommited method, custom action in setup project with CustomActionData = "/path="[TARGETDIR]\" /runAdmin=[RUNADMIN]" (in custom action -> commit folder), additional wizard's dialog with one checkbox (CheckBox1Property = "RUNADMIN") If checkbox is checked my application starts fine BUT (!) before pressing Exit button in installation wizard (after last dialog window appears). What I should do to run my app after wizard's closing/exiting Sorry for my english... I run my application as separate process. ( Process.Start(so ...Show All

  • Software Development for Windows Vista show SWF with Directshow

    Hi how can i render swf file with direct show in C#, Please help me if you know about it or you have any sample code. Tanks I'm doing a similar project, putting a TV Tuner window on a form with some browser windows. If you would like to collaborate and share information then email me as two-thousand six at ronhudson dot-you-know-what. I have everything working except the audio. ...Show All

  • Visual Studio 2008 (Pre-release) WCF solution for remote object references?

    Hi, I have a remoting-based distributed application I'm considering updating to use WCF. Here's how it works: Two or more client apps register with a single hub service, each giving the hub a reference to the client object (the hub acts as a discovery service). If client A wants to talk to client B it asks the hub for a reference to B, and then calls B's methods directly using that reference - client A doesn't even have to know where client B is on the network; the remote object ref it gets from the hub "just works" for calling B. This is a very powerful system which works well with remoting using remoted object references (i.e. RPC). Can anyone suggest an approach for doing this with WCF, which seems to me to be more message- ...Show All

  • Visual C++ Using C++/CLI to develop web apps

    Is it possible to develop web applications using VC++ (C++/CLI) in Visual Studio 2005 Standard/Professional Editions I would guess that the answer is 'yes', but I would like to confirm. I checked out the Web Developer Express Edition, but it only includes VC#/VB. I am looking for a way to develop web apps using VC++ (C++/CLI). Thanks, Kumar Is it straight-forward to set unsafe code access for C++/CLI Could this cause any other problems potentially (Since I am not familiar with this, I need to ask.) Also: Would I just be better off just using VC# to develop web apps (either with Web Developer Express, or Visual Studio Sandard/Professional) Thanks, Kumar ...Show All

  • Visual Studio debuging goes into not responding mode in VS2005

    HI my windows App goes in to not responding mode when i set a break point in click event or any where in my app.if i start debuging control come to the main function but when i set beak point any where it just goes into not responding mode before that breakpoint. it works fine if ther is no break point. thanks for your reply. Hi MNaveed, Based on my reading of your question, I suspect that what you may be running into is by design. If a breakpoint is set and hit inside your application while debugging, then while your program is stopped at that breakpoint, it will not be able to respond. Without further details though, we will not be able to determine what might be happening. In particular, please let us know: Wh ...Show All

  • .NET Development using sql provider for connectionstring with dsn

    I want's to use following connection string "dsn=MyDsn;uid=MyUser;pwd=MyPassword" Can some how I use it with sqlconnection I want's to get rid of odbconnection e.t.c What will be the connection string for sql provider for above dsn information. If anybody can explain the please help me You connection string for SqlConnection would look like "Persist Security Info=False;Initial Catalog=MyDatabaseName;server=MyServerName;Password=MyPassword;User ID=MyUser" Only missing pieces here are database name and server name. You could find them in your DSN configuration, if you do not know them ...Show All

  • SQL Server SSIS - Several Bugs in creating a simple task

    I was creating an SSIS package, seemingly simple. One of the tasks I needed to do involved copying our production database to a seperate DB instance for staging. I wanted an SSIS package that would stage production so we could push and test changes. My first problem is that I tried to create a simple Transfer Database task. When I tried to run the task, I got an error stating that our Stored Procedure, DtsRun, could not be scripted. It's an encrypted stored procedure. A little annoyed, I decided that I'd do a transfer SQL objects instead. Now I don't want to hard-code my objects to xfer based on the current schema and edit this SSIS script every time we make a DB change; I just want it to copy ALL objects except for my encrypted proc ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. "Indie" Game Development on Xbox 360 and PC

    (This is my first (technically second, I commented on something else) post on these forums) Alright, as a high schooler looking to get into game development after college (or possibly even nixing the college and going straight in) I was wondering if Microsoft was planning on doing anything at all with the XNA Framework that would support low budget game development. How available will tutorials and books about the code be available How much money will the tools and such cost How easy is this code going to be to learn Will it be easy for people to test on PC and a (normal) Xbox 360 with this code I've questioned Nintendo (through their website) about whether or not they'd be supporting "Indie" development, and I was given an aff ...Show All

  • Smart Device Development Creating your own icon

    I used the VS2005 icon editor to replace the MFC icon with an icon for my app, that shows up when I see the large icon (programs list), however when it's a little icon (file explorer) it's still the MFC icon. How do I change the little Icon to match my big icon sorry for the flooding oh ya, windows has a tendency to buffer these icons, you may need to rename your exe to see your change. ...Show All

  • Visual C++ Class wizard

    Hello all, How do I go about adding a message handler i.e ON_MESSAGE(...etc) without the class wizard as in VC++6 Thanks in advance. Beside that Nishant already said. ON_MESSAGE macro is generally used to map user-defined message handlers. The handler function prototype is afx_msg LRESULT memberFxn(WPARAM, LPARAM); Here is an example: #define WM_APP_MYMESSAGE (WM_APP+1) // ... // MainFrm.h class CMainFrame : public CFrameWnd { // ... afx_msg LRESULT OnMyMessage(WPARAM wParam, LPARAM lParam); DECLARE_MESSAGE_MAP() }; // MainFrm.cpp // ... //}}AFX_MSG_MAP ON_MESSAGE(WM_APP_MYMESSAGE, OnMyMessage) END_MESSAGE_MAP() // ... LRESULT CMainFrame::OnMyMessage(WPARAM wParam, LPA ...Show All

  • .NET Development StringBuilder COM marshaling across COM apartments

    I have the following interesting problem: I am using COM interop to work with an SDK, where one of the methods I call has the following signature: HRESULT GetName([out][in] WCHAR *pName, [out][in]DWORD *pcchName); The way it works is that the client first passes a NULL as pName and gets the number of characters in the name as the second out parameter (pcchName). Afterwards, the client can allocate the required memory and pass in the array and the capacity. I am using this method from C# and I have the method signature as follows: [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void GetName([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder name, ref int nameCapa ...Show All

  • Visual C# try-catch

    Is there any way with a try-catch that if the try fails that I retry it Basically I have an app that downloads text files, and then processes them. However, at my location we lose internet connectivity on a fairly common basis, and I don't want the app to try to process half downloaded files. The downloading sequence is in a class by itself, so I just basically want to do the following: try { download files } catch { try again } I haven't found any way to do it so far, so any help would be appreciated. Thanks, Russ im not an expert on the backgroundworker thread to be honest so I guess a good place to start would be here: http://msdn2.microsoft.com/en-us/library/system.componentmodel ...Show All

  • Visual Studio 2008 (Pre-release) XAML inheriting from another XAML file?

    I made a user control with several buttons on it (call them A,B,C), but wanted to make this control a so-called "base class" for other user controls that would extend this class so that the derived controls would all have the same common set of buttons (A,B,C) but would have their own unique specializations (i.e. inheritance!). I haven't had success implementing this relatively simple concept in XAML/C# with user controls (or anything else). Is there a way for one XAML file to inherit from another I have had issues where a class "A" that was created with markup was in one assembly, and a class derived from "A" was located in another. Would not work. The classes need to b ...Show All

  • Visual Studio Express Editions loading large pictures in picturebox

    Hello. I'm working with large pictures (one of them is 4021x3123) and I want to load them inside o PictureBox so the user interacts with it (draws on it). The problem is after I load the picture, when I use the scroolbar to move around it, it has that flicker effect and also the interaction with my application has a delay (it takes about 1 sec for the other controls to react). I'm guessing my problem appers because of the large picture I'm loading, so is there a way not to load the entire picture inside the PictureBox and only load that portion of the picture that is currently dispayed by the PictureBox Is there a better solution to that Thanks. Have you looked at the Graphics.DrawImage() method ...Show All

  • .NET Development Using a MS Access database

    Hello, I look for some articels and examples about read and write to a MS Acess database(on my website). Diii Below is one example: How to use Microsoft Visual Basic .NET to connect to a Microsoft Access database and to retrieve data ...Show All

©2008 Software Development Network