DPolen's Q&A profile
Visual J# How do I create an exe file or a jar file from J#?
I need to provide someone (a science teacher) with just an exe that they can run. The program prompt for some values, perform calcuations and produces a table of outputs. They do not have Visual Studio NET installed on their computer. How do I make an executable in J# Thanks! Mrs. Bellacera If you build your project, an exe will be created in the bin\debug or bin\release folder. You can run this directly, but you will need to have the .NET framework (redist) installed (not the SDK or Visual Studio)... ...Show All
.NET Development SqlDataReader & an SQL statement problem
Original issue went unanswered (well, unsolved) Using returned value from SqlDataSource1 so I'm trying a different route. Instead of writing to Profile, I'm going with Sessions. Here's my issue and some code. The select command won’t let me conditional Where LoginId = the value of the login textbox and Where LoginPwd = value of the password text box. The query when tested does return 164 when I enter in a test user's username and Password into the Query Bulder's "Test Query" but when I put those values into the WHERE area in the Select, it says “no TESTUSERNAME column” “no TESTUSERPASSWORD” column. I have to use WHERE ...Show All
Smart Device Development Named mutex in C# - P/Invoke?
I need a named mutex in C#. Where can I find the documentation on how to do P/Invoke calls for this Thanks. I don't have V2... Anyone have any ideas for V1 PInvoke I need to create/open/release a mutex. Thanks. ...Show All
Visual Studio Team System Problem while creating a New team Project
Hi all , My siteurl is http:\\tfs-app.default.aspx. Inside this site I created a subsite called TestDemo. I have created New Team Project Named TestDemo. When I Right click the Project and show project site. Its shows my sharepointsite(i.e http:\\tfs-app\sites\TestDemo) Problem 1: I have created another Team Project Named TestDemo1 as specified in above step. When I right click project and show project site. It's giving the following error. Er ...Show All
SQL Server Visual Studio 2003 & SQL Server 2005
Is it posible application writen with Visual Studio 2003 to establish connection to SQL server 2005 I to have a similar problem. while configuring the sqldataadapter using the wizard, the wizard generates the select and insert sqlcommands. but the update, delete command are not generated. an error is thrown. this wizard works completely fine with msde. this problem surfaced immediately after i upgraded msde to sqlexpress2005. is this a compatiblity problem will it be useful if i install the .net2 sdk ...Show All
Visual Studio MS Project Add-ins
Hello! I'm developing add-ins for MS Project. I can easily work with menubars and toolbars. However, I need to change some of the context menus (right click on a task, for example). I search on how to do this, but didn't find an answer. It is possible to change the context menus If yes, how can I do it Thanks ! To customize the context menus, go to Tools -> Customize, and select Context Menus in Toolbars. Notice that several new Context Menus items have appeared on the main toolbar. Switch to the Commands Tab and follow the instructions there. Hope that helps, Yun ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Mesh not appearing in the namespace
Hi, I'm an absolute directX beginner, so bear with me. I am trying to instantiate a mesh, but I don't see it in the Direct3D namespace. I've included references to the Microsoft.DirectX and Microsoft.DirectX.Direct3D components... both versioned as 1.0.2902.0 I am able to create devices, vertex buffers, and everything else in the first few tutorials in the SDK... but not the meshes. If I open the actual tutorial in the DirectX samples... it works fine. Any suggestions what I am missing ...Show All
Visual Studio Hosting the built-in XML editor
I'm trying to host the VS XML editor inside my custom editor (as one tab in my tab control). How can I achive this I've used IVsUIShellOpenDocument. GetStandardEditorFactory+ InitializeEditorInstance and then I called Show (on the resulting IVsWindowFrame). The editor shows up, but as a new tab inside the VS. How can I set its position inside my editor Thanks in advance, Daniel Maybe you need to set: frame.SetProperty(( int )__VSFPROPID2.VSFPROPID_ParentFrame, parentFrame); and frame.SetProperty(( int )__VSFPROPID2.VSFPROPID_ParentHwnd, _owner.Handle); ...Show All
SQL Server Report in Calendar/schedule layout
Is it possible to produce a report which is displayed as a calendar, similar to outlook im using rs2000 with no option of an upgrade to 2005 any help would be appreciated! Unless you don’t use any pre-page which sends the parameters to the reportsserver for rendering the report with the specified paramters, there is no way. You can’t change the parameter collection in SQL Server 2000. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Windows Forms How to obtain the focus?
Greetings! I have a treeView on the MainForm. OnPaint of treeView is overriden so it draws a small visible rectangle in itself. Double-clicking on rectangle fires new dialog appearing. When I close the dialog, focus is not on the MainForm (to close the MainForm I should click the cross at the right top angle twice), it's somewhere :) How to get it back this.Focus() after catching the result of the dialog is not helpful. Thanks truetype David, I've solved my issue in a bit interesting way :) I changed inheritance from TreeView to inheritance from PictureBox. That's it. Everything is fine. But very strange s ...Show All
Windows Forms VerificationException?? why??
Why am I getting this exception LoadEvent Exception: System.Security.VerificationException: Operation could destabilize the runtime. at Rebif.RandomMove(Int32 movingSpeed) at Rebif.LoadEvent(Object sender, LoadEventArgs e)- this is the code void RandomMove(int movingSpeed) { int X = OrganismRandom.Next(0, WorldWidth - 1); int Y = OrganismRandom.Next(0, WorldHeight - 1); BeginMoving(new Move ...Show All
Visual Studio Team System App config file and load test Plug-in
I am unable to read an app setting from a load test plug, it looks like I will need to use a conext paramater to avoid a hardcoded value. Is this a bug Am I smoken crack Thanks! The process that runs the load test is either VSTestHost.exe or QTAgent.exe. If you are not using a controller/agent setup, the the process is VSTestHost.exe. In this case, you would need to add you app settings to the VSTestHost.exe.config. If you are running using an agent/controller, then you would need to put your settings in the QTAgent.exe.config on each agent. Although this would qork, I would highly suggest using load test context parameters f ...Show All
.NET Development Reference question/problem (design discussion)
Ok, I’m going to do my best trying to explain this, so go along with me. I’m working on a class project called BarHopper. The goal is to build a Pocket PC, GPS enabled, GIS where users can mark their favorite bars and plan out their night with a route of bars to “hop” to. That said, I wanted to build a framework that could be used to build variations of BarHopper for any application, such as an application for marking wireless Internet access in your town with X and Y coordinates, etc. So, I designed the Locator framework with namespaces and classes that you’d need to build a BarHopper derivative. Most of which a ...Show All
Smart Device Development RSA Encryption
Has anyone used RSA Encryption/Decryption for cf Thanks, Paula Yes. I'm trying to get it to work using the openCFNet objects and I'm having problems. I've never had any luck getting answers on their forum, so that's why I asked if anyone here had done it. I can encrypt data without any problems, but when I try to decrypt it I get a 'bad data' error. For proof of concept purposes, both keys are hardcoded in the project. Here is my code. I don't know how to format it nicely for the forum, sorry... Thanks! public string EncryptDataString( string strInput) { string xmlString; ...Show All
Visual C++ Build + Compile "Hello World" Program with Visual C++ 2005 beta
I am not able to build and compile a primitive "Hello World" Program with Visual C++ 2005 beta. Although I have been searching the Internet for 2 hours, I have not found any solution, but I hope there is anybody out there who is able to create projects in Visual C++ 2005 beta My program is: #include <stdafx.h> #include <iostream.h> void main() { cout << “Hello World!” << endl; } The error message is (td-test is my project name): fatal error C1083: Cannot open precompiled header file: 'Debug\td-test.pch': No such file or directory If I omit the lin ...Show All
