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

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

nordboh

Member List

Sabrecat
gleason78
Ron L
bukittimah
clauden
thanksforhelp
DiamonDogX
vijil
JuKiM
Steve Strong
Rossel
yoopergirl
orenga
nizmo
NewWorld
pinoyz
h1
LuckyL
StuartLodge
pidnas
Only Title

nordboh's Q&A profile

  • Visual Basic VB App crashing when run directly from IE

    Hello, I have just written my first VB application so there is lots I don't know. I have tested it on a number of PCs and it works fine. I have uploaded the application to some webspace for others to download. My problem is that when the IE prompt "Do you want to run or save this program" is shown if I choose "run" the program just crashes. If the program is saved to a folder and then run it seems to work fine. The error message is something along the lines of: EventType : clr20r3 P1 : exchange2003imfkeywordmanager[1] P2 : 1.0.0.0 P3 : 45bd1a49 P4 : exchange 2003 imf keyword manager P5 : 1.0.0.0 P6 : 45bd1a49 P7 : f P8 : c6 P9 : system.invalidoperationexception Any ideas would be greatly appreciated as ...Show All

  • Visual C# Multiple application instances

    Hi, How do I stop multiple instances of the same application running. (ie: if the user starts an application and then tries to start it again I want to prevent the second instance from starting) I must be missing something or doing something stupid. Thanks in advance Andrew Place this code as a first lines in Program.cs in entry Main method: Process [] process = Process .GetProcessesByName( Settings .Default.ApplicationName); if (process.Length > 1) {     MessageBox .Show( Settings .Default.ApplicationName + " Already started!" ,                     "Application already started" , &nbs ...Show All

  • Software Development for Windows Vista What are .xoml files ?

    Using .Net Framework 3.0 (dotnetfx3.exe package). I created Task 1 'Creating the Sequential Workflow' from Windows SDK. When I try to build it using MSBUILD command in the SDK command prompt I get message 'No files found with .xoml extension in the set of input files'. What file .xoml would I create Anatoly, Good to hear that. Also remember to make this thread answered. Enjoy the WF. 8-) Andy Ho ...Show All

  • Visual Studio Express Editions concatenate differing field types into single column datagridview

    I have 3 fields in my database. City, State, Zip where zip is an integer. I would simply like to combine all 3 using a dataset and use the result to populate a single column datagridview. The output would look like Wausau, WI 544026097 the Below SQL looks right but fails as Zip is an integer . How can I convert zip to string in the SQL and then concatenate the fields into a string and display in a single DGV column SELECT City + " " + State + " " + Zip AS Expr1 FROM Addresses Thanks ! solved SELECT City + " " + State + " " + cstr(Zip) AS Expr1 FROM Addresses ...Show All

  • Windows Forms Console Output from a Windows Form

    I have a windows form program which also includes a command line interface to a few of its features. When command line options are pased to the program the GUI is not displayed, and the command line code is properly excuted. However none of the output to the console appears. I was able to get the console output to be displayed by having Visual Studio 2005 compile my program as a console app instead of a windows app, but this causes a console window to be opened when you run just the GUI portion of the program. Is there anyway I can get the console output to appear without having this console window opened with my program when running the GUI part In the console window that the program was run from. ...Show All

  • .NET Development FTP w CF 2.0

    Hi all, I am getting an odd error during an FTP. It happens completely randomly. I can sometimes ftp 50 files with no error, and other times 2 errors in a row with the same files. This machine can FTP via CF 1.1 without error as well as with any other FTP method I have tried. Like I said it only happens with the 2.0 and I am at a loss. Any ideas Here is the error; System.Net.WebException: The remote server returned an error: (501) Syntax error in parameters or arguments. at System.Net.FtpWebRequest.SyncRequestCallback(Object obj) at System.Net.FtpWebRequest.RequestCallback(Object obj) at System.Net.CommandStream.Abort(Exception e) at System.Net.FtpWebRequest.FinishRequestStage(RequestStage stage) at System.Net.FtpW ...Show All

  • SQL Server how to call web service from within Script Component ?

    Appreciate if anyone can show me the code to call a web service from Script Component I cannot use the Web Service Task. Because parameters to the webservice are from rows of data inside Data Flow Task. Thanks !!   mf915 wrote: Appreciate if anyone can show me the code to call a web service from Script Component I cannot use the Web Service Task.  Because parameters to the webservice are from rows of data inside Data Flow Task.   Thanks !!   Hi there, If you buy Donald Farmer's book ( http://www.amazon.com/Rational-Guide-Extending-Script-Guides/dp/1932577254/sr=8-1/qid=1171045629/ref=pd_bbs_sr_1/102-7891523-4086513 ie=UTF8&s=books )  ...Show All

  • Windows Forms C#: Search Function in Windows Form - HELP

    Hi, I wanted to create a search function to search a Database and thereafter to display the search results. private void btnSearch_Click( object sender, System.EventArgs e) { DataTable datatable = new DataTable(); this .oleDbDataAdapter1.Fill(datatable); //Extract only Primary Key ("Customer ID") from Database string custID = datatable.Rows[0].ItemArray[0].ToString(); int count; bool found = false ; for ( int k = 0; k < count; k++) { if (txtSearch.Text == custID) { found = true ; // //How to copy the Search value into CustID textbox try { // Attempt to load the dataset. this .LoadDataSet(); } catch (S ...Show All

  • SQL Server Express & RDA?

    We have a .NET Internet (VB and javascript) inventory application that uses SQL Server 2005. Users have requested a version of the application that would allow them to update their data offline. Ideally we would download a version of the application to the user's desktop (with .NET and IIS configured) and have the application logic connect to a local version of the database. I was excited to find that RDA would be adequate to handle the data extract and update that would be required to use a local database. However, the Compact Edition does not support Stored Procedures and connections from ASP.NET applications. The application logic is complex and a lot of it is implemented in the data access layer via stored procedures. There are about 1 ...Show All

  • Smart Device Development SendKeys in Compact Framework 2.0

    Hi, I'm looking for the SendKeys method in CF 2.0. Is it in the framework and how do you send a tab and shift-tab Grtz Annihil8 I've build a little example to check it and i believe you probably had the upper code allready wright and you probably just need the namespace of the method DLLImport It is Using System.Runtime.InteropServices Sorry about that :) Grtz Annihil8 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where to upload demos?

    Ok so I have an XNA demo game I want to upload but I don't want my web site to get slammed. Is there a good site to upload the demo to or something like a blog/dowload site that I can start I would like something XNA or MSFT based if possible. Thanks. I wouldn't be worried about being slammed in the XNA community, most of us are beginners here and even the experience joe blogs are very helpfull and almost never negative. Good to you puting your demo game out, I also would suggest if you intend to develop the game further, put it Codeplex , great place and you dont have to release the source if you dont want to, until your ready. One you've put it somewhere put a sticky in this forum, I think Dav ...Show All

  • SQL Server Simple flat file import

    Boy, do I need HELP! Have a simple csv file that I need to import. Worked fine in sql2000; I put it into dts to execute on a monthly basis. Makes connection, db connection, table creation fine, but stops at validation of flat file Basically, I want to go out and get a flat file, drop the existing table, and create the table, and import the information from the flat file. Not a complicated table of about 30,000 records. Create table [db].[dbo].[tblPatient] ( [patientID] into not null, [chartID] varChar(15) null, [doctorID] int null, [birthdate] datetime null, [sex] varchar(1) null, [raceID] int null, [city] varchar(100) null, [state] varchar(2) null, [zip9] varchar(9) null, [patientTypeID] int null, [patName] varchar(100) null) Be ...Show All

  • Visual Studio Cannot start debugger with ssis package

    Hello, I am fairly new to Visual studio, however I have hit a frustrating problem. I have created a SSIS package and have been using the debbuger throughout, no problems. However just now I have finished, cleared up all the warnings and errors, and go to hit that green arrow and its grayed out. ANy ideas on what went wrong. Visual Studio 2005 (8.0.50727.42) SSIS 9.00.2047.00 OK, feeling a little sheepish here, I opened the file directly instead of the project. All is good. Thanks anyways, hope this helps someone else. ...Show All

  • Visual Basic Changing screen resolution with VB 2005

    I'm having a difficult time converting a Windows API call that works fine in VB6 to run in VB 2005 (Windows XP with SP2 in both cases). I reduced the problem code down to its core which is below. I'm trying to change the screen resolution with the ChangeDisplaySettingsEx call; the idea is that on entering the program it shifts to high resolution and at the end it restores the original settings. I left the restore part out because I get the same error. Which is "An invalid parameter was passed in. This can include an invalid flag or combination of flags." I'm trying to use exactly the same parameters, but somewhere in the conversion process from VB6 a fatal change crept in. My guess is that it's either in the ByRef/ByVal or Short/ ...Show All

  • SQL Server How to do multi-row insert?

    Folks, forgive me if I'm missing something obvious, but I can't find anything about this on MSDN or Google. I'm new to SQL Server, my background is DB2. I'm working on porting an existing open-source PHP application ( http://sourceforge.net/projects/gallery ) to use SQL Server as a backend. The Gallery application has a multi-row INSERT statement that (AFAIK) works on all other RDBMS, but fails on SQL Server. I can reproduce it easily with: create table ljmtemp (col1 int, col2 int, col3 int, col4 char(20) insert into ljmtemp values (6565,0,2,'scale|654'), (6566,0,2,'scale|654'), (6567,0,2,'scale|654') Msg 102, Level 15, State 1, Server CS288290-A\SQLEXPRESS, Line 1 Incorrect syntax near ','. If I specify o ...Show All

©2008 Software Development Network