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

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

jlgervais

Member List

meili
JL2
LJ G
vatozanab
Nigel Rivett
Adagio
danglen
Pinball
konjogu
Mireno
TheMuffinman_
MuhammadRashid
axmt
Yanbiao Zhao - MSFT
P J Walklate
Vitor
Elkoda
Richdz
Great AShok
Serene Seraph
Only Title

jlgervais's Q&A profile

  • Visual Basic VB6 Database connections

    hi all am kinda new to visual basic but am currently working on a project which needs a connection to a database, am using the code below but having touble with it, it keeps coming up with "error 91: object variable or with block variable not set" and highlights the line ive highlighted, can anyone helm me get round this and/or explain why it's happening, thanks everyone :)    Martyn Compton sQL = "SELECT titleofevent,patron,time,extended,fee,paid,datebooked FROM data WHERE date=#" + Str(day) + "-" + monthNames(dateMonth - 1) + "-" + Str(dateYear) + "#;"     databaseAccess.Connect = "datasabe.mdb" &nbs ...Show All

  • Visual Studio MFP Package.Project source

    What is the correct way of adding the Package.Project source to our Package solution All of the examples I have seen are using an import statement on ProjectBase.Files. The question I have is determining the path. The IronPython example is using relative path from the project to ..\..\..\Common\Source\CSharp\Project, but the Project sample under Archive\CS_Samples\Project\Project is using this relative path in addition to an env variable $(_NTDRIVE). What should we be using to determine the path from where our project is located Mike Archive code should not be used to judge anything. Its archive. Sam ...Show All

  • Smart Device Development Managed or Com Library for MP3 playback

    Any suggestions on a managed or com library that can be used for MP3 playback on PPC 5 You can launch WMP by using Start("file.mp3", ""), but I am looking for a way to get the current position (time) while it plays. ---Mike ...Show All

  • Visual Studio VSS 2005 And VB6

    Hello, I have VB6 and VS2005 installed on the same machine, there is any way to use VSS2005 also from the VB6 IDE If not, can I install VSS6 and VSS2005 on the same machine thank Andrea I would like to experiment with it at work. I have XP/2 with VB6 Pro and SQL Server 2000 . ...Show All

  • Visual Studio Express Editions Is there a way to open macro

    Hi, I have a project in VB and it connects to a Access database. And there is a macro in my Access database, which opens a table in that database. I want to create a button, so that when i click on the button, the macro in Access will be executed. Is there a way to do this by using functions provided in VB 2005 express or writing some code to do it Thanks. I'd check the path is correct and ensure that I could open the database using access. If still causing a problem try restarting the machine and seeing if it works. The code checks out here so the message may well be valid for your computer. ...Show All

  • Windows Forms Might be a stupid question but...

    I just can't seem to wrap my brain around this one. (Yes I'm a Newbei, lol) I just don't understand how to click on a list item and get it to do what I want. I've got a listview control that shows "*.url" files and I'd like the user to click on the list item (*.url) and get it to open in the WebBrowser control that's on the same form. How would I go about doing that. I'm using VS.Net 2003. Hi CommonGenius, Thanks for your help. Would you be able to give me an example of how to do this I think I understand what you are saying about the select part but I'm not quite sure about how to get the url file to read it. ...Show All

  • Software Development for Windows Vista Confused on why is is possible to drop activities in .XOML and .XOML.CS files?

    Hi everybody, I may be overlooking something obvious, but this is sort of confusing to me, so I would appreciate a clarifying voice on this. If I create a WF console app, delete the original "Workflow1.cs" file, and add a "Sequential workflow (with code separation)" item, then I get 2 files in the solution explorer: "workflow1.xoml" and "workflow1.xoml.cs". I can click on each one of those two files, and add activities separately ( ): For example I put a "code1" activity on the .xoml designer file, and a "code2" activity on the .xoml.cs designer and create some handlers for them. The code is reflected in the class, as it can be se ...Show All

  • Visual C# RichTextBox : Text color

    hi.. i have a richtextbox in which im displaying some messages, i want to change the color of some text . is there any way to that thanx Hi, yes you can, select the text and use the SelectionFont and/or SelectionColor property: richtextbox.SelectionFont = new Font("Verdana", 10, FontStyle.Regular); richtextbox.SelectionColor = Color.Blue; ...Show All

  • Visual Studio Express Editions Graphics Programming in Visual Basic .NET

    At first, excuse me for my bad English (it isn't my native language). I have such a question: is it possible to program graphics in Visual Basic .NET using OpenGL library without long list of subs and functions declaration May be, it's only need to add some library like gl.h in C++ Thank you. A quick search with Google found this article: http://www.ondotnet.com/pub/a/dotnet/2003/04/28/opengl.html There are other articles just do a search with Google on: OpenGL & Visual Basic.NET. james aka:Trucker ...Show All

  • Smart Device Development newbie... :) about preprocess and simple file create

    maybe It will be sound like a newbie question.. J I want to be able to include text files, or simply change some parameters in my code before I release a version (preprocess). I used to do it with ANT in the past old days (j2me..). what is the way to do this in the .NET environment I don’t want to do this from inside code with ugly “if” statements to create a text files every time I build the project… thanks in advance.. Oren mmm didn't know about the NAnt for the .Net.. sounds like the solution :) Thanks Alex! Oren. ...Show All

  • SQL Server best approach

    I've been banging my head for a while now, and it is sore! :-P I'm a best practice/Microsoft approach type of person and want to make sure I do things correctly. I have a database, kind of like a forum. Obviously executing multiple queries in one "batch" (stored proc) would have an impact on the performance. Now, I would like to give a more detailed/specific error back to the caller (either by aid of error code or whatever) with such situations like... "EditReply" Edit reply takes the threadID, replyID and userID. Before actually commiting the changes, it needs to check: 1) does the user ex ...Show All

  • Windows Forms What's the Windows Form Equivalent to the ASP Drop down list

    I want to download  a list of names and reference numbers, display the names to the User, and from his selection read the associated reference number, but I can't see the Windows Form to do this. I'm missing something pretty basic and deserve contempt, but would appreicate being enlightened. Thanks in advance. Following you suggestion of a binding problem, I re-configured the data adapter and dataset and now everything is working fine. I don't know what it was that I changed that rectified the problem. Thanks for the direction ...Show All

  • Windows Forms Detect user press the "Enter" Button

    Hi All, Can i through some method to detect the user is press the "Enter" button or not ("Enter" Button on the Keyboard.) Thx a lot. Thx a lot. Thx a lot. Laputa Well, I currently use the KeyPress handler to do this: private void OnKeyPress(object sender,KeyPressEventArgs e) { switch (e.KeyChar) { case '\x0d': //handle the return key break; } } private void OnKeyDown(objec ...Show All

  • Windows Forms how to "remember" my drawn graphics

    hello im using the graphics class to draw some stuff on a form. Graphics Draw = this.form1.CreateGraphics(); Draw.FillEllipse(Brushes.Red, Circles); something like that. But once the graphic is drawn and i move another form over, it disappears. so how can i keep my graphic display all the time. Thank you Just to expand on what Peter says, it's almost always a bad idea to draw stuff the way you're doing it. Avoid calling CreateGraphics in order to draw stuff on screen. The Paint event is the place to do it. (Or just override OnPaint - that's how I usually do it. Fewer moving parts than adding a Paint handl ...Show All

  • Visual Studio Express Editions New WinMain?

    Hi, I'm trying to test out a chapter of a directx book, and I get errors like I can't overload winmain. Why is this happening When I go back to my old vc++ 6.0, it compiles fine (there's a linking error, but that has to do with directx 9 not being supported). I mean, this shouldn't be that difficult, should it I've started a new, empty win32 application (not console). I create a new, blank file called winmain.cpp and I paste in the code. I compile it and it spits out a bunch of errors: 1>winmain.cpp 1>c:\documents and settings\jombee\my documents\visual studio 2005\projects\erase_me_2\erase_me_2\winmain.cpp(32) : error C273 ...Show All

©2008 Software Development Network