JAson_scoobyjw's Q&A profile
Visual Studio Express Editions View Files Created With New VB.Net on an Older Version of VB.Net
Hi! I have visual studio 2005 on my computer however the college uses Microsoft Development Environment 2003. Initially, I created a file using MDE2003 in college and when I bring it back to edit the file, it automatically upgrades the file to a newer version. Now I tried to open the Solution file in college however there is an error message saying "The selected file is a Visual Studio solution file, but was created by a newer version of Visual Studio and cannot be opened." Can anyone teach me how isit possible to view the Visual Studio solution file on a Microsoft Development Environment Thanks. Sam The project and solution files are not compatible with each other...howe ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HLSL design and compiler cleverness
I have a good amount of shaders/fx files where all have several techniques for various shader level and detail implementations. In a worst case scenario this leads to a lot of similar code being represented in the various vertex and pixel shaders I use, which is really a maintenance hell if left like that. Change code in one place and 5+ other places need the same change. So this leads me to the following idea: Split the code into various functions and place them in suitable include files. Include the needed files for a given shader and call the functions. A few examples of such functions: translatePosition(), getSpecular(), getDiffuse(), getNormalMapSpecular() getShadowValue() and so on. Doing this would mean one task only exists in on ...Show All
Visual Studio Express Editions Install: VC++ ok; SQL Server-not so much
My system had a beta version of Visual Studio 2005 Express on it which I uninstalled. Apparently not correctly, as I can not install SQL Server 2005 Express. I have tried to removal procedures which either give me an error message or I cannot find the items in the Add/Remove program list that are requested. That is, it looks like the system should accept SQL Server 2005 Express, but it does not. I have successfully installed Visual C++ 2005 Express. I have no clue as to what to do next and there is no documentation on what to do. I have looked at the various postings here, tried several of them, to no avail. When I search the registry there are some 70 entries that have the string “SQLEXPRESS” in the entry. I am unsu ...Show All
Visual Studio Express Editions Something Wierd...At least for me. Win32 Form Application Project No Where to be Found.
I recently had to reformat my computer, and well after i installed VC++ 2005 Express Edition, I wanted to create a "test" Win32 Application Project.It's the one that creates a premade form and menu.It has no "visual" form editing however.Unlike Windows Forms Application which i do not want.All I see though in the Win32 category is "Win32 Console Application". And im just wondering.... Is this how its supposed to be Or do i have a glitched version... Okay... Now something really wierd... the Code from this site.One which worked before my re-format.Does not anymore. The tutorial is from here. http://gameprogrammer.org/main.php page=tutorials&no=25 Here ar ...Show All
Visual Studio Uninstall of an addin crashes Visual Studio
Hi. I have a native C++ addin for VS2003 that registers a bunch of commands and a custom toolbar. As an uninstall custom action I run a VB script similar to the one here: http://support.microsoft.com/ kbid=555322 However during uninstall I'm getting a Visual Studio crash dialog. The script itself works fine. It gets rid of the commands and the toolbar. The only problem is the crash. I reduced the script to just this: Set objDTE = CreateObject("VisualStudio.DTE.7.1") objDTE.Quit and even just this: Set objDTE = CreateObject("VisualStudio.DTE.7.1") But it still causes a crash. BTW, running the script alone causes no crash. Just when it is executed as part of the uninstaller. Any ideas what to do ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DBP Contest
if i enter the warp up i can not enter the main compo AFAIK you can have multiple entry per event but you can win only 1 time per event: so if you insert 3 game for the warmup and 2 for the main event you can win only 1 time for the warmup and another 1 time for the main event. ...Show All
Windows Forms Problem trying to select an item in a TreeView
I use a TreeView to implement it. My program must behave in this way: When you select an item in a diferent screen from the solution explorer, then its solution explorer item must be selected too. I have the following class hierarchy whose objects must be shown in the right way in the solution explorer: First of all, At the head's hierarchy I have the "Solution" class which contains an ArrayList of "Screen" objects. And each "screen" object is composed by "item" objects. I've written the following code to insert the items I create in "the other part of the screen", in my solution explorer: SolutionExplorer.cs public void insertItems(Solution solution, Item selecte ...Show All
Smart Device Development Hide textbox cursor
Hi! I have an application in which I use a textbox merely to display data so I have no need for the cursor. Does anyone know a way of hiding it Thanks Using a label control is a good idea if you don't need scroll bars. I hope I have understood your problem correctly and that this suggestion is possible with your environment: Assuming that when you say "cursor" you are referring to the blinking vertical line indicating the place where text would be inserted, one thing you could try is to remove the focus from the textBox after adding the data. You could do this as follows: textBox1.AppendText( "Hello" ); label1.Focus(); Where label1 is a label on the form that you are ...Show All
Visual C++ Visual Studio 2005 SP1 Vista (With Patch) Freeze/Crash
I am trying to change the project properties for a project I am working on and whenever I change the option "Character Set" from "Use Unicode Character Set" to "No Set", the IDE freezes and I have to kill it and restart it. I am migrating from a previous version of VS (2003) and without changing this option my code will not compile. I don't want to add in Unicode support because I don't think it is compatible with Win98 is it Even if it is, I would still like to be able to turn this off because I need to sometimes, but at the moment it won't let me and it is a very important option. Thanks guys (and girls), hoping to hear from you soon. BTW Window 98 can support Unicode by Mic ...Show All
.NET Development Converting Matlab to Visual Basic.Net
I am trying to convert some Matlab code into Visual Basic.NET and was wondering if Visual studio has commands similar to the following Matlab commands: *WAVREAD ---- Read Microsoft WAVE sound file. Y=WAVREAD(FILE) reads a WAVE file specified by the string FILE, returning the sampled data in Y. *ANY ------ any(w==y) works through the elements of vector w and returns 1 (true) if any of the elements are y. *SPARSE----S = SPARSE(i,j,s,m,n,nzmax) uses the rows of [i,j,s] to generate an m-by-n sparse matrix with space allocated for nzmax nonzeros. The two integer index vectors, i and j, and the real or complex entries vector, s, all have the same length, nnz, which is the number of nonzeros in the resulting sparse matrix S . ...Show All
Windows Forms DataGridView - Column/Cell Not Selectable
Hi, I have a DataGridView with 5 columns but only want the user to be able to select cells in one column (prevent selection of the other cells) I have tried to find a property for a column to say you can't select it, but can't find anything. Surely you don't have to write a whole bunch of event handlers (cellclick, keydown, etc) and dynamically change the focus to the one columns cell you allow to select. Can anyone help me with this - even microsoft access has the ability to not allow selection of a particular column cell. Thanks in advance, Grant. Hi, Thanks for your reply - but it didn't answer my question. I can easily make sure that only some columns are editable, but I want to ...Show All
Visual Studio Team System Using TFS Reports for a Release Defining Feature List
Has anyone used MS Project, MS Excel, or VS Report Designer to create the following type of report for a Release Defining Feature List. Columns to include Work Item Id, Work Item Type, Title, Description, Area Path, Iteration Path. I also want the report to show hierarchical relationship for Features, similar to Work Breakdown Structure in MS Project. I'm thinking MS Project won't work due to inability to map the VSTS Description field, and MS Excel doesn't display the Description field nicely, as well as not showing the hierarchical relationships. Any suggestions would be appreciated. thanks, Jennifer Hi Jennifer, You can display in MS Project work item fields of type: Integer, D ...Show All
Visual Basic Single.Parse(999999999) = 1.0E+8 (100000000.00) ???
Hi....... Quote: Single.MaxValue = 340282300000000000000000000000000000000.00 When trying to parse a value like 99999999 to single, it gives me 1.0E+8 (100000000.00). This is not i was expecting and ofcourse no one would.....How to resolve this type of problem. I cannot (now) go for double coz its already late. I even tried Convert.ToSingle and Ctype way but all yielded the same result . Please help me out of this... Hai DMan1, I was testing my application with huge values and one such value is 999999999. After updating, i saw the result which i was not expecting. So if anyone has come over this issue and resolved, then please let us know. Regards, ...Show All
SQL Server Conditional Where using a Parameter
How do I construct a select with a conditional where: If DefaultWH is not blank I want to add a "AND part". SELECT DISTINCT Name FROM Warehouse WHERE (Cono = @Company) CASE WHEN @DefaultWH' <> ' ' THEN AND (@DefaultWH = whseid) END Try : SELECT DISTINCT Name FROM Warehouse WHERE ((Cono = @Company) and ( @DefaultWH='')) or ((Cono = @Company) and ( @DefaultWH=whseid)) Hope it work's... ...Show All
Visual C++ error LNK2019 help!
I'm getting this error everytime I try to compile the program: Linking... Creating library ../Program/StepMania-debug.lib and object ../Program/StepMania-debug.exp RageSound.obj : error LNK2019: unresolved external symbol "public: class RageSound * __thiscall RageSoundManager::PlaySound(class RageSound &,struct RageSoundParams const *)" ( PlaySound@RageSoundManager@@QAEPAVRageSound@@AAV2@PBURageSoundParams@@@Z) referenced in function "public: class RageSound * __thiscall RageSound::Play(struct RageSoundParams const *)" ( Play@RageSound@@QAEPAV1@PBURageSoundParams@@@Z) RageSoundManager.obj : error LNK2019: unresolved external symbol "class RageSound * __cdecl PlayCopyOfSound(class RageSound &,struct RageSou ...Show All
