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

Software Development Network >> John Freddy's Q&A profile

John Freddy

Member List

Denni
josephxxv
ry383
AHooker
JockePe
ROK
Tatakau
esun
Penn Wallace
ivancmz
Monkan
izadyas
Michael Kiss
Pinky Lano
SteveJessup
alexgr
LoveMeSomeCode
Bhawnach
VSU
Microsoft2006
Only Title

John Freddy's Q&A profile

  • Visual Studio Express Editions New VB user questions

    I am an experienced programmer in QB but new to VB. I have VB 2005 Express and am trying to get up to speed. For a learning project, I have a simple Windows form that calculates a Cylinder volume. The form has labels and test boxes for input, a results box, and 3 buttons (Calculate, Next, and Exit). Functionally, all works correctly so far. Question 1 - How do I set up to use keyboard navigation for data entry going to the next field or button The TAB key will jump to the next field, but not trigger a mouse click. The Enter key does not do anything. Question 2 - How can I cause a jump to a desired field on a data entry error such a ...Show All

  • Visual Basic How to use unmanaged com dll in VB.NET

    How can I use an unmanaged com dll in VB.NET. I used Add Reference to use it in my project but can't seem to get it to work properly: Public Sub AccessDll( ByRef objMyDll As MyDll.IMyDll) Trying the above I get a curly green line under objMyDll with a message that Type of parameter 'objMyDll' is not CLS-Compliant. When I get to the MyDll. the Intellisense shows the Interfaces available. I've tried numerous unclear explanations about interoperability but I can't find a clear, straight forward explanation. I know .net has its advantages, but considering the massive changes vb.net brought, there really& ...Show All

  • Visual C++ controlling user input

    I'm writing a game. A very symple game that doesn't use objects or anything like that. (I'm relatively new to prgramming and haven't gotten that far yet.) Over and over again the program asks the user for input. Some examples: cout << "Play (or try, failures) again, Yes(1) or No(0) " ; cin >> pg; cout << "Show attack score, Yes(1) or No(0) :" ; cin >> showatk; Since these questions only have two anwsers, the variables pg and showatk are of bool type. This all works fine, until the user tries to answer ...Show All

  • Visual FoxPro HOW TO ADD AUTOMATICALLY A LOT OF .dbf FILE INTO A DATABASE .dbc FILE ???

    Hi! In a folder I have a lot of .dbf file! I want to do the upsize to a MSDE, but I can't do it from a folder that contains the .dbf file....I need a .dbc file! So, when I create a new .dbc file from the project manager, fox can't allow me to add automatically all the .dbf file that are in my folder! I must add one by one...but this procedure is too much slow! Can you tell me how to add automatically a lot of .dbf file into a .dbc If exist something to do that in fox pro, or with a code example.... Thank you 1) You don't need a dbc for upsizing (maybe you do if you mean wizard). 2) You can use: lcPath = getdir() create dat ...Show All

  • Visual C# Editor

    I had a *quick* look through the Tools > Choose Toolbox Items... menu but the list is far too big for me to check out every single item. My question is; is it possible to use the editing component from the IDE in our own applications I want to build a nice script editor for my application with code folding, syntax highlighting, intellisense, etc. I suggest you download the source code for SharpDevelop and see how they did it. http://www.icsharpcode.net/OpenSource/SD/ ...Show All

  • Visual Studio 2008 (Pre-release) undo and redo

    Hi how can i get undo and redo features in richtext box programatically can anybody give me a simple example thanx - Nagu Use ApplicationCommands .Undo. and ApplicationCommands .Redo Take a look here: http://spaces.msn.com/viliescu/blog/cns!A7CD34FAB0459777!251.entry Bye ...Show All

  • Visual Studio Team System Where to download MSFWinBuild?

    I'm in the process of customizing the MSF Agile Process Guidance.  I have been using the Process Guidance Customization Guide from the Visual Studio October SDK. This guide mentions that the MSFWinBuild Tool is useful to pre-render the HTML files.  The guide says that this tool can be downloaded from http://msdn2.microsoft.com/en-us/library/ms243893.aspx . However, I can't find the download.  Where can I download this tool from Thanks _____________________________ Sarah Cameron - InCycle Software Hi Sarah,    The MSFWinBuild site is  http://www.gotdotnet.co ...Show All

  • Visual C++ Visual c++ .net licence agreement

    A couple of months ago I bought a Visual Studio .Net 2003 Academic Edition. Unfortunately the licence doesn't allow the software to be installed on more than one pc (I didn't know at the time). Last week I tried to install it on another pc, but - of course - it couldn't be activated. The reason I want to do this is that I live with my parents in the weekend, without access to my own pc. Now I'm planning on buying Visual C++ .Net 2003, hoping that it's licence allows installation on more than one pc. Is this assumption correct Or maybe someone knows where I can find a(n electronic) copy of the eula. I'd rather not spend another ...Show All

  • Windows Forms Transparent Forms VB and then...

    I am trying to set my forms to transparent and to draw semi transparent PNG image. OK I do that but when i move my form graphics remains the same. Same hapends when i display my form over some animated graphics or video, video is playing but area of my form region remains the same. Please help me, I tryed everything... Is this posible at all Hi      When you say "when i move my form graphics remains the same. "  can you give some more detail of exactly what you mean, or what happens    It is hard to visualise exactly what problem you are experiencing. ...Show All

  • Visual Basic Evaluating dates against NULL values

    What is the best way of evaluating dates against NULL values, as the following code generates an invalid cast exception, when there is a NULL value for FailureDate If blnStarStock And dteDay = row( "FailureDate" ) Or dteDay = GetMaxTradeDate (row( "CompanyKey" ), row( "CompanyCode" )) Then    ' Do Something End If Thanks The alternative would be to use a DataReader instead and check the value before assigning it to any variable. ...Show All

  • Windows Forms How do i assign this?

    let say i wanted to sum up all the price in my database and assing it to a listview table.  how do i do it   what i did was  ....  myRS.Open("Select SUM(Price) FROM Store",myDb)  how do I assign it to a listview    where does the value store actually   I don't understand what you are trying to do... So far I've go ...Show All

  • Visual Studio Express Editions Databases (lots of 'em!)

    Hi there, I am new at Visual Basic Express, and am in the process of planning a Visual Basic Application. The project will rely on a a database - I am uncertain on a number of things. The data will need to be accessible in the office of the company - I was thinking of either on their NAS, or hosted on the Web. a) Which is better -Microsoft SQL Server or Microsoft Access I know that if I pick Microsoft Access, I can upload it onto a host no problem, and also put it on the NAS. If I was to use SQL server, would I only have to place the mdf file on the NAS b) Is it possible ...Show All

  • Windows Forms Merging two images as one

    I have a problem that I can's seem to find the solution anywhere.   I'm trying to take an image, resize it down to a 200(h)  by 266 (w)  canvas.   I need this to scale proportionately to the canvas.  So, if this is a wider image than normal, then there needs to be white space at the top within this canvas.  If it ...Show All

  • Visual Studio Express Editions Help with databases

    Hi I have a database with about 20 columns one of which is vehicleNumber and one of which is temperature. I have many different vehicleNumbers. When the user types a vehicleNumber into a text box I need to collect all the temperatures for that vehicle and find the average temperature. I am not using SQL, I'm using an access database with the dataset and all that. I found a little information suggesting a dataview. Can anyone help me Just to visualize here is a shortened example of my database: VehNum Temp 123 73 456 68 123 83 456 79 123 81 456 72 ...Show All

  • .NET Development SHARD_PATH constant

    Is there a way to get .NET to recognize the SHARD_PATH constant used in SHAddToRecentDocs, or if not, anyone know what the value of constant is You are P/Invoking to Win32 (specifically shell32.dll). There is no way to automatically read in any enums or constants that are used in P/Invoke signatures. You can find the enum definition here: http://www.pinvoke.net/default.aspx/shell32/SHAddToRecentDocs.html According to the page, the value for SHARD_PATH is 0x2. BTW - Adam Nathan's pinvoke.net is a fabulous reference if you're P/Invoking into Win32 directly!!! ...Show All

©2008 Software Development Network