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

Software Development Network >> SnowyT's Q&A profile

SnowyT

Member List

XeviaN
Info_Peter
REspawn
chris house
Thomas Greenleaf
qmatteoq
Gurpreet Singh Sawhney
ferlinco
engloon
Jim Ward
Jason Sacks - MSFT
WIreD 0x90
roger5089
Chardiot
molemenacer
Stigern
Lostlogic
Kzin
MikeB01
Checkmate
Only Title

SnowyT's Q&A profile

  • .NET Development How to display an image of the resources in an assembly in the WebBrowser control?

    Hello, does anybody know how to display an image of the embedded resources in the WebBrowser control In VisualStudio 6 and the IE-control this worked like this: Code: "<IMG src=\"res://ErrorDialog.dll/Error.jpg\">" I tried it this way in .NET with the WebBrowser-control: I Code: "<IMG src=\"Properties.Resources.ImageError\">" but it doesn't work... Is there a way to do this Best Regards B. Ritter The C# and VB.NET IDEs no longer support native resources. This blog entry shows you several alternative. ...Show All

  • SQL Server partition switch and non unique index

    I have a table partitioned by month. There are no primary key. There is another table with the same structure that I use to load data for the current month. I can perform partition switch with no problem. I created non unique index on integer field in both tables. After this change partition switch does not work anymore. Here is an error that I am getting: 'ALTER TABLE SWITCH' statement failed. The table 'dbo.test' is partitioned while index 'IX_test' is not partitioned." Any help Hello, Regading to your following statement, does filegroup has to be the same. If I want switch to a table with index partitioned, the partion table index filegroup cannot the same a ...Show All

  • Windows Forms Problem referencing items in a different project in solution

    I am creating an Outlook style application with email and contacts. I have my mainForm which is in its own project. The main form has a splitter. One on the left for the tree. And one on the right for a grid. In the Contacts project, my contacts tree is a user control, with a treeview added to it, and it has another user control with a grid added to it. In my main project, I add a reference to the contacts project. When my program starts up, it programatically adds my contactsTree control to the left side of the splitter, and my contactsGrid control to the right side of the splitter. And so on, for the email it adds the email controls etc. When a user chooses email, the email controls are set to Visible, and the rest of the controls are hi ...Show All

  • Visual C++ Problem of ActiveX

    When I am trying to call an ActiveX's method in my MFC application, it displays a dialog on the top of my application properly. But before it ends, the OS displays a dialog, which says "Another application is running, switch to ...". If I try to switch to others, everything is OK, my application continues to run. Could you tell me how I can avoid displaying the annoying dialog Why Thanks in advance. Depens on the IMessageFilter that is used. If the application waits forever than such a dialog will not appear. Afaik the defualt settings in an MFC application is 3 seconds after no response. Maybe VB disables its main window automagically. ...Show All

  • Microsoft ISV Community Center Forums My mini Utility_Move class, please have some suggestions.

    Hello guys, I made a class called Utility_Move. Please give me some suggestions. If there is a better, cleaner, more performance way than mine, please tell me, thank you. 'Motive: Sometimes it is eaiser to debug when you use ActiveCell as current data record or parameter. '   When the macro stopped by exception or stop sign, you can determine the running progress by ActiveCell. '   And it is easier to say Up(5) instead of offset the row index, for me at least. 'Summary: The Utility_Move class introduce 3 sets of functions. 'First set, Up-Down-Right-Left simulate the key stroke of arrow keys. '   Additionally, Steps parameter allows you to repeat number of seps to that direction. '   Negative st ...Show All

  • Windows Forms Non Modal Form and Modal Dialog Form

    Hi, I have a 2 non modal dialog forms Form1 , Form2. and a modal dialog form Form3. From "Form1" i am invoking another "Form2" since "Form2" is a non modal dialog form i can have any number of instance invoked from "Form1". from "Form2" i am invoking Modal Dialog form "Form3". Suppose i have 2 instance of "Form2" and from one of them i invoke "Form3" from screen unless until i close "Form3" i cant go to another instance of "Form2" but if i go from task bar or (Alt + Tab) to other instance of the "Form2" it shows "Form2" but i cant perform any operation it gets hanged. ...Show All

  • .NET Development Table Adapter :Example Access

    Anybody have an example of Table Adapter to connect MS-Access because I search at WEB many confused examples that help me but in my project using ADO.NET, ACCESS, and Win Applicaton with DAtaGridView , I run the Applicaton after change values at ROWS and this changes don't appear in DAtaGridView and only change(update) the file .mdb MS-Access . thank’s thank s for your attention. I run correctly my Application making a SELECT query and using OleDbConnection, OleDbCommand in form_LOAD event!!! Too I put a INSERT query in my App. ...Show All

  • SQL Server Package Configuration

    Here is the scenario we are trying to use; (it a bit long winded please bare with me) There are 2 Packages Parent and Child. Both have 2 Connection Managers (“Configuration” & “Data Connection”). The “Data Connection” has an invalid connection set to start with this is so that we can deploy this to multiple places and use a SQL table to hold the configuration. At runtime “Configuration” is set to a valid SQL2005 database connection via the command line or in BI but “Data Connection” is left invalid. The Package Configuration point to an SQL server using “Configuration” this has the connection string for the “Data Connection” Connection Manager (a valid connection string). The package errors wit ...Show All

  • Visual C++ Problem with getting my C++ MFC DLL to invoke one of the methods of my web service

    Hi everyone, I have a web service which communicates via TCP to a C# program. When I invoke it's methods through a browser, they work fine and can communicate perfectly with the C# program. However, when I attempt to add the web service to a C++ MFC DLL I've created, I get multiple warnings, but with only 2 unique: 1) Warning 3 warning SDL4008 : skipping unrecognized extensibility element, with c:\Documents and Settings\*******\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 84 2) Warning 9 warning SDL4001 : only one SOAP port will be processed. c:\Documents and Settings\cpappas\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 104 I am assuming it is beca ...Show All

  • Smart Device Development mstsc arguments

    Hi Does anyone know how I can specify mstsc arguments such as host, username and password programmatically so that the user does not see the login screen I have the following code: Dim proc As New System.Diagnostics.Process proc.EnableRaisingEvents = False proc.Start("Windows\mstsc40.exe", "") But this only launches the tsc. Can anyone please help Nick MSTSC.EXE Microsoft Terminal Server Client USAGE Command Block mstsc "configuration *.rdp file" /v:{server:port} /console /f /w:{width} /h:{height} /public /span /edit /migrate ARGUMENTS Command Block / Argument ...Show All

  • SQL Server Cluster setup

    We are on SQL Server 2000 A/A cluster and are moving to SQL Server 2005 cluster. Following are the list of things before proceeding, please let me know if it needs any corrections and add-ons: (side-by-side) Planning for new installation of SQL Server 2005 ( SQL2005INST1 and SQL2005INST2) on node1 and node2 and restoring the databases on SQL2005INST1 and SQL2005INST2 from respective 2000 instances. 1) SQL2005INST1 SQL Network Name SQL IP address 2) SQL2005INST2 SQL Network Name SQL IP address As 2000 is already existing on the cluster.Want some clarity on following questions. Can I keep the data files on the same disk as 2000 was using Do I need to have new disk for the Quoram drive Under & ...Show All

  • Audio and Video Development How can we control the "Enhancements" page under device Properties page?

    There will be a "Enhancements" tab on the device Properties page if we use APO to add some sound effects.( ex: Speaker or Microphone) And I want to control the checkbox in the "Enhancements" tab. The question is : how can we get the interface of this page I know the "Enhancements" will add a "FxProperties" folder under the device registry. But I can't find the header of this IPropertyStore interface. I have tried SHGetPropertyStoreFromParsingName to get the interface. Like this: IPropertyStore *pProps = NULL; CString string = L"HKEY_LOCAL_MACHINE\\....\\FxProperties"; // The registry path. SHGetPropertyStoreFromParsingName ( string, NULL, GPS_DEFAULT, __uuidof( IPrope ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. bitmap font messing up models?

    When i put in code for bitmap fonts (every implementation i can find and even an attempt of my own) it messes up the test model that i have displaying. I'll try to get screenshots soon, but to give you an idea... He is viewed at a 45 degree angle from HIS left. and the problem is that some polys are missing, and his right leg(the "back" one) is visible in front of the left ( the "front" leg). But this doesnt happen when i dont have the font drawing on screen. Incompatibility between 3d and 2d possibly How would you guys fix this if you dont have this problem, code examples of how you did it would be amazing! See here . ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Pong using XNA

    I've noticed a few XNA Pong varients already populating the Internet since XNA's release on Wednesday. This version, called MDS Pong, will attempt to simulate the original game as much as possible (by original, I'm referring to the small black box that pre-dates Atari. Yes, there was something before Atari). You can check it out here: MDS Pong Beta Some of the game logic includes changing the ball angle depending on where it collides with the paddle, and changing the ball's speed based on how fast your paddle is moving upon impact with the ball (like the original game). The plan is to complete the project and release the documented source code so everyone here can see some features of Game Studio Express in action. The computer is ...Show All

  • Windows Forms Where are the events for a FolderBrowserDialog?

    EDIT:  Here is the solution: // Show the FolderBrowserDialog. DialogResult result = folderBrowserDialog1.ShowDialog(); if( result == DialogResult.OK ) {        this.textBox1.Text = this.FolderBrowserDialog.SelectedFolder; } Hi, the following code snippet in C# retrieves the selected path without events: string selectedPath; using ( FolderBrowserDialog dlg = new FolderBrowserDialog ()) {     if (dlg.ShowDialog() != DialogResult .OK)     {         return ;     }     selectedPath = dlg.SelectedPath; } // Process selectedPath here Andrej ...Show All

©2008 Software Development Network