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

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

Montana

Member List

agzamovr
G4_Fighter
Vinny Davi
Johan Normen - Nsquared2
Bill116
Bastian
JerryPG
crimzonthunder
jay2006
Shravan Kumar G
shpaolin office
Spyros
Marcus Taylor
TJ Han
dwakefield7128
poppy
basim_shanyour
Paul E.
Martin Bussieres
Abhayc
Only Title

Montana's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. .NET 2.0 application template

    Hi! How to create an application template like the one presented here: http://msdn.microsoft.com/coding4fun/weekend/apptemplate/default.aspx , but for .NET 2.0 I'm new to the whole .NET thing and it's quite confusing for me. I tried to follow the steps in the tutorial mentioned above and just changed reference to Microsoft.DirectX (which should i use: "version 2.0.900.0 runtime 2.0" or "version 2.0.0.0 runtime 2.0.50727" ), but should i also use 2.0 versions of Microsoft.DirectX.Direct3D and Microsoft.DirectX.Direct3DX I couldn't find them. Should i use files in Common directory starting with letter "w" or the others If I don't add the ...Show All

  • SQL Server Windows Mobile 5 connecting to SQL Server 2005

    Can't get winmobile 5 to connect to my sql server 2005 (using vs2005). Here's the connect string: "Data Source=tcp:XXXXXX\default,1433;Database=YYYYYY;" _ & "Integrated Security=SSPI;" This very same string, and variations of it, work in a vs2005 winforms app, but not a windows mobile 5. I'm (obviously) using system.data.sqlclient. MS documentation says it's supported on both platforms with no syntax changes. Any suggestions Can you please try removing "tcp" in the Data Source. Also what is the error you are getting Can you please provide more details ...Show All

  • Software Development for Windows Vista Duplicate activity name error when dynamically adding a custom composite activity

    I have a sequential document review workflow that when submitted dynamically creates multiple review tasks internally within the workflow. Each review task is an instance of the custom composite activity with a unique name. This all works fine. I also want to be able to add a review task dynamically at runtime from the host. However, when I attempt to apply the addition to the workflow I get a validation error that states I cannot add activities with duplicate names. This, I believe, is referring to the child activities of my composite activity. I thought I could just give the composite activity a unique name that would be used by child a ...Show All

  • Visual C++ Windows API not working w/VC++ Express

    Good Morning- I downloaded the Windows Platform SDK and installed it and used these instructions: http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx to set it up. But they aren't working (IE: my code cannot find Windows.h). Has anyone else had this experiance with  VC++ Express I did the manual file editings to point to the include directories, etc. Is there any way in VC++ Express to confirm what paths are avialable I spent an hour dinking around with it and I got nothing. Thanks, Philip PS: Microsoft people: Note a typo on that site!!! Section 3 says to point the lib/bin/include directories to C:\Program Files ...Show All

  • Windows Forms Passing arguments in a ClickOnce UNC deployed project

    I have a ClickOnce application that I am distributing by both web/HTTP and UNC. I need to pass arguments to my application. When I launch from the web address, I can use System.Deployment.Application. ApplicationDeployment .CurrentDeployment.ActivationUri along with a launch URL of URL.application arg=value and parse the query string. However, I can't find any way to do the same for a UNC URL. The ActivationUri is null when the application is launched from the UNC address. Is there any way to pass arguments in a UNC launched ClickOnce app Thanks, Erick I've just lost one full day ...Show All

  • Windows Forms MouseWheel event not working

    i had to change this posting because i was able to sort of make this work. the problem is as follows.  i have a tab control and in order for the mousewheel event to occur i have to actually click on the tab control for the event to occur.  the mousewheel event is not associated with the tab control but the ChildWindow instead. Aaron, I posted a thread , with sample code, couple of days ago regarding making a panel respond to mouse wheel events without having to click on it. Maybe you could use a similar method for your issue. Unfortunately I have received no response yet as to whether it's a good s ...Show All

  • SQL Server Dataflow error in lookup task : "Object was open.".

    I Can't reproduce the error if I run the package stand-alone. I'm using the same lookup call (same table, etc.) in 2 packages that are running in parallel (called by a parent package). [LKP_UnderwriterId [72283]] Error: An OLE DB error has occurred. Error code: 0x80040E05. An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80040E05 Description: "Object was open.". Anyone seen this one Googling threw this up: http://www.sharepointu.com/forums/m_23343/tm.htm Could it be that something isn't installed properly on the machine on which ...Show All

  • .NET Development Hey problem with IIS

    Hey, I am using Windows 2000 prof i am having problem with IIS its not loading the home page when i checked with the url http://localhost in the task manager->> process i can see the inetinfo.exe and asp_wb.exe running. But i an unable to run the IIS server can any one help me in solving this problem What do you mean that you are unable to use IIS Server If you place a file named test.htm in c:\inetpub\wwwroot\ with the following content: "<html> <h1>Test</h1> </html>", can you see http://localhost/test.htm Regards, ...Show All

  • SQL Server Generate Scripts option in SQL 2005 Management Studio

    Did anyone even bother to test the Generate Scripts option for a database I changed the following options from their default setting: "Include Descriptive Headers" = True "Include if NOT EXISTS" = True "Script for Server Version" = SQL Server 2000 "Script Indexes" = True and scripted all Stored Procedures, Tables, User-defined functions, and Views Problems: 1.  Generates IF NOT EXISTS (SELECT * FROM sys.objects ... should be ...SELECT * FROM dbo.sysobjects ... 2. Generates WITH (IGNORE_DUP_KEY = OFF) ... on the indexes. That portion is incompatible with SQL 2000 3.Generates EXEC sys.sp_addextendedproperty ... ...Show All

  • Visual Studio Express Editions Passing data between multiple forms? urgent help needed

    Scenario I have Form1 consisting of a listView control I have Form2 consisting of a chunk of code, that reads items from a folder and lists them in the listView control, belonging to 'Form1'; only i can not get it to work. On Form1, when i click 'Show Form2' i have: Form2 Child= new Form2(); Child.Parent = this; Child.Show(); On the Child form, when it pops up, i want to add items to the ListView control on Form1. how on earth do i do this I can't seem to use. Form1.ListView1 etc... or this.Owner etc... Am i missing something i tried setting the listView in question to 'Public' in the Form1.Designer code with no luck. PLEASE help me ...Show All

  • Visual Studio Express Editions edeting .xml files

    Hi... Me and my School mates are having an experiment where we have to note down the data for each time... (the assigment is; exersice and note down, pulse, temprature, and so on....) And so i thought i can use C#.net and xml for this, and then display the data using xsl.... But how can i ADD tags with data to an existing .xml file so say i have this xml file: < xml version="1.0" encoding="ISO-8859-1" > <data>    <input>       <date>X</date>       <pulse>X</pulse>       <temp>X</temp> ...Show All

  • Visual Basic Need to add OWC ChartSpace context menu to additional menuitems...

    Hi... I developed an application to plot the chart. To plot the chart I used OWC11 (Office Web Component). Its works fine. So I want add additional menu items to the ChartSpace context menu. If you have any idea of this please let me know. I'm using vb.net 2005 pemmawadu ...Show All

  • Windows Forms How to disable right click in textbox..

    Anyone knows how to disable right -click on a textbox....  Basically i dont want the cut, copy paste menu to pop up when i right click on the textbox... thnks in advance...   Just don't let the textbox to process the WM_RBUTTONCLICK: class MyTextBox : TextBox { private const int WM_RBUTTONDOWN = 0x0204; protected override void WndProc(ref Message m) { if(m.Msg&nbs ...Show All

  • Windows Forms Visual GDI+

    I think I wrote something about a graphics wish before, but it was way more advance than this one. It will be nice if there was software or a part of Visual Studio.Net that acts like a graphics program were you can draw drawings and those drawing to be converted to code, and resource files. So instead of spending long time drawing some parts  ...Show All

  • Visual C# renaming a file in c#

    i use: fiFileInfo.CopyTo(Path.ChangeExtension(fiFileInfo. FullName + fiFileInfo.Extension, ".enc"), false); to rename a file (eg: ***.ppt -> ***.ppt.enc). if the file is really big (400mb), this take 6-7 minutes. is there a better way to rename files regards meeeeeeeeeep File.Move will rename a file for you. Not sure how much faster it is than the above. There's no File.Rename, to my surprise. ...Show All

©2008 Software Development Network