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

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

Fox3

Member List

fscarpa58
cblaze22
johnny_no1_boy
pj_bennett
Godmoney
Neil Enns MSFT
nivanov
mrP
MattDude
lalithak
cpaesano
rowdy2
we3dyz
Eric Eichler
mgaur_MSFT
Steven J. Reed
SDX2000
DyngoMan
tattoo
kenre
Only Title

Fox3's Q&A profile

  • Visual Basic Using FORTRAN in Visual Basic 2k5

    I'm kind of new to programming, so if anyone can help me out I'd appreciate it. I'm writing a program that has the majority of its computational work written in FORTRAN. The FORTRAN program takes a file input which I have create successfully, but I don't know how to declare and call the FORTRAN library from VB. Can anyone help me out JE You simply add the reference to the fortran dll. If its a COM or .NET dll then you should just be able to use the classes, methods in this dll. If it is not a COM or .NET DLL but an unmanaged API, then will need to use the declare statement or dllimports statement (they both equate to pretty well the same thing) to call the unmanaged API. ...Show All

  • .NET Development Can't step into web service in debugger

    I have a windows forms application that calls a c# dll which calls a web service (on my local web server). I wrote the code using VS.NET 2003 and had no trouble debugging. I have recently upgraded to VS.NET 2005 and can no longer step into the web service. When I set a breakpoint in the web service and start the app, I see an icon next to the breakpoint that says no symbols have been loaded for the document. I have added the following line to the webconfig file: < compilation debug = " true " > The configuration Manager shows all projects being built with debug on and when I look at the property pages for my web service, the asp.net debugger is checked. Does anyone know what I am doing wrong ...Show All

  • Visual Basic rich text box control cannot paste.

    rich text box control cannot paste when i select any thing(it may be image or text from internet explorer) and paste it in a msword it has got pasted including image and text when i do the same copy paste in my application which contain the richtextbox control i am unable to paste the images and i can paste only the links of the images can any one help me in pasting the images and text is there any other way to do this other than downloading the file my requirement is to simply copy the content from the brouser and paste it in the rich text box and it should appear similar to how we copy and paste in the ms word plz help me thanks for ur code dustin ...Show All

  • Visual C# Read binary, convert to hex

    Ok, i have an executable that i want to be able to edit the hex values of, but i can't find anything that will read the hex from the file... I was wondering if it might work if i did a regular BinaryRead and just converted whatever it read from binary to hex, then edited that and converted it back to binary and do a BinaryWrite. Would that work the same as if i had directly edited the hex I'm pretty new to this, but im just trying to basically end up with 1. Read the hex of the file. 2. Change it according to what the user enters. 3. Write it back to the file. thanks a lot! !!! Thank you sooooo much, your a genius man ! Works great and im good to go! thanks again! ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Orienting 3D objects along a velocity vector

    I'm working on a bullet/missile class for my 3D game and I'm struggling with trying to figure out how to construct the rotation matrix to have my mesh oriented with the direction of my velocity vector (a Vector3). It seems like it should involve two rotations (since one axis will be the up-vector) and probably a little bit of Math.atan2 magic. Can anyone help me out Divided by the product of their magnitudes. I'm typing this from work and don't have the XNA docs in front of me and can't remember the function names but mathematically it would look something like this. v1=natural direction v2=direction you want to point. vaxis=cross_product(v1,v2) angle=acos( dot(v1,v2)/( v1.Magnitude()*v2.Magni ...Show All

  • Software Development for Windows Vista Installation Directory Write Access Issue

    Hi, I am a developer for a commercial program and we are working on a Vista-aware release of our product. It is a large install (6 CDs) abd is currently all put in Program Files under XP. The Microsoft suggestion of putting program executables and static data in Program Files and all other stuff in the appropriate users/... directory is not practical for our application. I have never liked that model. It makes things complex both for users and programmers. It is a road that we simply will not follow. The problem, of course, is that users don't have write access to the Program Files folder unless they explicitly and manually set it. We could require the users to do that but this is not a happy solution and we probably will not do that. W ...Show All

  • Software Development for Windows Vista namespaces and assemblyname

    Hello, I'm having a problem when deploying my vb.net v1.1 application to Vista. In my project the rootNamespace and assemblyName property are the same. When I want to start my application on Vista I get the "admin" warning (UAC). When I change my assemblyName property value then I can start the application without the warning. Anyone a idea ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectInput with Parallel Port Joystick

    How to create a DirectInput device connected to parallel port The parallel port uses the interface lpt-switch. thanks jpimentel, There is a complete sample in the SDK. The most recent version for this can be found here . If you download the SDK for Feb2007 there is also a solution in the ( SDK root )\Samples\C++\DirectInput\Joystick directory. Thanks. Cale ...Show All

  • Visual C# How to set a excel file readonly?

    Thank you To set the information/attributes, we use the File.SetAttributes in the System.IO namespace: System.IO.File.SetAttributes( "File.xls ", FileAttributes.ReadOnly); and thats it! to set multiple attributes, simply add another FileAttribute (OR) System.IO.File.SetAttributes( "File.xls ", FileAttributes.ReadOnly | FileAttributes.Hidden); would make it readonly and hidden.   To undo this, or rather set the attributes back, then you need to use FileAttributes.Normal, on its own: System.IO.File.SetAttributes( "File.xls ", FileAttributes.Normal);   does this help ...Show All

  • Smart Device Development POOM: Can't delete appointment if using IAppointment*->Display

    In Windows Mobile 5 for Smartphone POOM is now supporting the Display method in ITask, IAppointment and IContact (Display was not working in pre-WM5 versions). The Contact card and Appointment card also have a menu connected with the right soft key - the menu enables to beam the contact or the appointment, edit the contact, etc. In the Appointment card, however, the "Delete" menu item is not working. The same command works perfectly in the Contact card - you get a dialog asking to confirm the operation and, upon confirmation, the contact is removed. With the appointment menu, no way - the appointment is retained. Tested on two different Smartphone models from two different OEMs. Is anyone aware of this issue and of a workar ...Show All

  • Visual C# Relative Paths (or CurrentDirectory) wrong if called with arguments?

    Hello Community, i got a very strange behaviour here. For example, i am working in the directory: C:\Test. When I call my assembly, abc.exe, the Environment.CurrentDirectory (or all relative paths) are C:\Test. Now, my file takes files as arguments (like an Editor). So when i drag and drop a file (test.txt) on my exacutable, the Environment.CurrentDirectory variable (and relative Paths) change to my default User directory which is something like C:\Files and Settings\Username\... and so on Why does this happen How can i get the Path, where the File is located I am working on .Net 2.0 beta 2 Thanks in advance!!! Your help is very appreciated. Thomas  You need to view the command line arguments and no ...Show All

  • Visual Basic [OTP]ADODB.connection definition

    how can i define ADODB.connection without using the set command thanks for your time use ADO.NET... For questions regarding VB6 see the following: Useful Links Visual Basic 6.0 on MSDN Library Visual Basic 6.0 Help and Support Visual Basic 6 Support on Windows Vista Service Pack 6 for Visual Basic 6.0 Microsoft Visual Basic 6.0 Common Controls Visual Basic 6.0 Upgrade Guidance Visual Basic 6.0 Code Advisor Visual Basic 6.0 Upgrade Samples Visual Basic at the Movies Other VB Web Sites VB-Helper Code Guru Planet Source Code VB City VB Forums Code Project ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Model Exporting From Maya (.fbx)

    I have a question and concern regarding the .fbx model exporting from Maya. Problem: Whenever I load a model into my game that has been exported using the latest .fbx exporter plugin from Maya the model is arranged such that some of the pieces of the model are lined up along its x axis. I did some research on the .fbx file format and found out that while it was designed to be an open document 3D model format, it has been grossly revised by just about all modeling programs which have edited it to suit. Which is why you can't export a model in Maya and then import it into Max and expect it to be the same. My question is this, being that the .fbx file format is flaky at best; what make and version of the .fbx exporter/importer is XNA designed ...Show All

  • Visual Studio 2008 (Pre-release) how can we save the conent of rich textbox to an xml file

    hi there, i am wondering how can we save the conent of rich textbox to an xml file. i have many richtextboxes but i need to save all those to one file. thanks prasanth http://blogs.msdn.com/llobo/Default.aspx p=2 ...Show All

  • Software Development for Windows Vista Text Wrapping in Custom Activity

    I've built a custom activity but the Name value won't wrap like the default activities do. Here's my code: private Rectangle CalcImageRectangle() { Rectangle bounds = Bounds; Size sz = new Size(32, 32); Rectangle rcImg = new Rectangle(); rcImg.X = bounds.Left + 4; // ((bounds.Width - sz.Width) / 2); rcImg.Y = bounds.Top + ((bounds.Height - sz.Height) / 2); rcImg.Size = sz; return rcImg; } private Rectangle CalcTextRectangle() { Rectangle bounds = Bounds; Rectangle imgRect = ImageRectangle; Size sz = Image.Size; int room4Image = bounds.Left + 20 + sz.Width; return new Rectangle(room4Image, bounds.Top, bounds.Width - 4 - room4Image, bounds.Height); } My base size is 175 x 60, so the height is ...Show All

©2008 Software Development Network