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

Software Development Network >> Jim Shipley's Q&A profile

Jim Shipley

Member List

Sachin Samuel
JasonG271009
preps
nixps
IS dude
simon_56387
manick312938
Matty1stop
Carsten Kanstrup
fbdf
code jockey
ashk1860
FcoLomas
gifuran
PedroSimao
ilkerrr
jdwilliams543
kewlbuddy
grepe
andyrd
Only Title

Jim Shipley's Q&A profile

  • Visual C++ Question on Visual Studio C ++ 6.0

    I was compiling a source code of Visual C++ in Visual Studio 6.0 environment. The code contains German and Italian characters in the comments. When the complier reaches that point it outputs as "fatal error C1071: unexpected end of file found in comment". Since this occurs in many places could you help me how could I resolve the problem I need to leave those comments untouched but on the other hand need to compile the source codes and run the executable. Is there any way exactly how this could be done in Visual Studio C++ 6.0. I am in Canada, using English as my first language. You might try using #pragma setlocale() and see if that helps; this should apply to later compilers as well. Since you can't modify the so ...Show All

  • Visual Studio How can I install crystal reports XI R2 into visual studio 2005?

    How can I install crystal reports XI R2 into visual studio 2005 After I installed crystal reports XI R2 on my machine, where visual studio 2005 is installed. It seems nothing has changed, the report are still in bundled version. Should I config anywhere to make it replace the bundled version Joseph Thanks Mr. MVP. As you said, I logged as administrator on my windows server 2003. and maintained my visual studio 2005, removed the crystal reports bundled version. and reinstalled the crystal reports XI R2 version. Now I got nothing in my visual studio 2005, Neither XI R2 or bundled after nearly 1 hour above work. Even worse my project can't compile right now. I am just wondering have you tried bef ...Show All

  • SQL Server Invalid Character in Flat File or Turncate problem

    My source is a csv flat file. Currently I use that same flat file on SQL 2000 and SQL 2005. On SQL 2000 it runs fine and it inserts that character as part of the string (varchar), however, it gives me truncate error on sql 2005. I already use the "Suggest Types...." and my Output columns have the correct lenght (specially that lehght of that column is only 30 char which is less than the default anyways). If I remove that character it runs fine for that column..... This is the values that I get in my flat file for the trouble coulmn is "ATTN: JON OLSEN a€“ CTRL8 " And the error that I get when running the SSIS is [Flat File Source OrderDetail [1]] Error: Data conversion failed. The data conversion for ...Show All

  • Software Development for Windows Vista Tracking and Persistence Service

    Hi, I tried adding the SqlTrackingService and SqlPersistenceService to my runtime. I have two databases one for tracking and one for persistence When I add only one of there service, I am able to see the entry in the database, but when I have both the services added I do not see any entry in the database. This is what I am doing. string connectionString = "Initial Catalog=PersistenceDatabase; Data Source=localhost\\SQLEXPRESS; Integrated Security=SSPI;" ; SqlWorkflowPersistenceService persistence = new SqlWorkflowPersistenceService (connectionString); workflowRuntime.AddService(persistence); string trackingConnectionString = "Initial Catalog=TrackingDatabase; Data Source=localhost\\SQLEXPRESS; ...Show All

  • Smart Device Development Adding designer support for C# NETCF project

    How do you make the form designer find the image without having to comment in and comment out the lines you're resp. using and not using This doesn't work: #if NETCFDESIGNTIME bitmap = new Bitmap(@"C:\Proj VS 2005\GUI\ColourButtonTest\bin\Debug\button.bmp"); #else bitmap = new Bitmap ( @"\Program Files\colourbuttontest\button.bmp" ); #endif It still can't find the image when I'm in the form designer. I always have to have two lines and comment out the Win CE device path when I'm in the designer. /Lars And what’s going to happen if somebody has VS installed on X: drive That’s right, it will fail. Consider using resources or determine path at runtime, don’t use hard ...Show All

  • Visual Studio Express Editions Planning a project

    I have an Excel system that does the in-store accounting for 15 gas stations\convience stores. I call it a system because I did not know very much at all about programming or visual basic to start with when I put it together back in '01. There are buttons on a screen that invoke code for forms that accept input which is placed in cells on the spreadsheet. Other cells have formulas. Basically, in a nut shell, I made the spread sheets do the work that the managers used to do by hand. Some things I just do not understand. I am a "picture" thinker, so often "word discriptions" just do not sink in. 1. Class If I want to have a class that has properties and methods for Fuel grades, do I write a stand alone class ...Show All

  • Visual C# Return a pair of List

    Is it possible to return a pair of list objects from a method Thanks Regards Alu Say you want to return a list of strings and a list of ints, you can do this List<string> Method(out List<int> theInts) { } Now you need to assign a value to theInts in your code, and you need to return a list of strings as well. So, both are returned, although one comes in as well. ...Show All

  • Visual Studio Team System So much technology for so little results

    The Team Foundation server is simply a source control database with simply check in and checks out, and a set of windows forms or bug tracking, all connected to a share point database. But to install that thing, you need a dedicated server (yes, share point cannot be shared, only the mighty Team Foundation server is allowed to configure it and use it), then the SQL Server 2005 with its full options, then ……. So, an entire computer is required, just to get a set of simple functions, that cannot be even used from the web directly (yes the business analyst must have visual studio 2005 installed in order for him to file a bug), or download a third party tool. So the question is, do you have any future plans to allow th ...Show All

  • SQL Server Cannot browse data

    I try "open table -> Return all rows" , There is an error like "Database Server: Microsoft SQL Server Version: 08.00.0760 Runtime Error: [Microsoft][ODBC Driver Manager] Driver does not support this parameter" Which tool are you using There was a problem with the MDAC driver, you should check the msdaox.dll for the version you habe installed: http://support.microsoft.com/kb/277033/en-us HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Smart Device Development SetFilePointer Problem

    Hi I am new here. I am writing because I am having a problem I wasn’t able to resolve. I am using the SetFilePointer function in my mobile project. The problem arise when I try to test it in my emulator. The SetFilePointer function moves its pointer in the oposite direction. When I pass a positive value to the method, the file pointer moves backward. And when I pass it a negative one, it moves foward. This only happens when the dwMoveMethod it’s set to FILE_END. When I run the program in my ppc it works fine, just like the documentation explain. Maybe I am doing something wrong, does anybody have the same problem. I try to search in the forum and no post for SetFilePointer was found. Also, I not sure if this is the right forum to post. My ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Surface.GetGraphics removed from XNA?

    In MDX2, Surface has a method GetGraphics. I could not find this method in XNA any more. Has this method been removed from XNA Anybody knows why and what's the alternative We are using GDI to draw various 2D shapes like circles, ellipses, polygons, polybezier, contours etc. We also need to change line width, style, transparency and apply antialias etc. I think GDI is very good at these kind of things. If we implement these kind of functionalities in XNA/DirectX ourselves without using GDI, then we sort of reinvent GDI in XNA/DirectX world, it'll take a huge amout of time -- we can't affort it. ...Show All

  • .NET Development XML catastrophe - important for everyone

    A while ago I wrote a pretty simple but useful little app for taking notes. It uses a note hierarchy and saves each notebook in saparate XML. I am using the app for two years and everything worked fine. One of my friends also uses it and just recently he reported that he cannot open one of the notepads. I inspected the problem and saw that one of the xml files was empty! It's not really a great tregedy in this case, but it could be! I really doubt it that it is a bug in my code, since the only place I save the note is in the Note::Save() method which looks like this: public void Save() { lock(this) { this.WriteXml(this.notesPath); } } WriteXml method looks like this: private void WriteXml(string path) { XmlDocument xml ...Show All

  • Smart Device Development Load Image from stream?

    .NET CF 2.0 Trying to load an image into a picturebox from a memorystream - is this possible when I try to do it I get a notsupportedexception theImageStream.Position = 0; this .thePictureBox.Image = new Bitmap(theImageStream); What is the stack like when the exception is thrown I know this should work because I frequently use the same approach - download an image from the web into a memory stream and then pass the stream to a bitmap constructor ...Show All

  • .NET Development How to know what exceptions a method can throw?

    I was reading in some other posts that you only have to catch known exceptions. And that it is not allowed to catch Exception like this: private void CheckCancelEntryWeighingRecords() { try { mis.Transfer(data.CsvData); //Call to a third party dll } catch (Exception ex) { LogError("Error occured in CheckCancelEntryWeighingRecords", ex); } } How can I know what exceptions a method can throw So that i can decide on which situation i can recover and on which not I know that the Framework.NET has documented the most exceptions. But what about third party dll's with bad of no documentation I also know i could use reflector to look what the possible exceptions a ...Show All

  • Visual Studio Team System How Can I Connect MySql Database?

    Hi, How Can I Connect MySql Database from my vs team Correct v1.0 only support SQL Server 2000 and 2005; in a future version we will make back-end support pluggable; however we rely on others to create these providers; we are only committing to supporting the SQL Server database editions. -GertD ...Show All

©2008 Software Development Network