coderjedi's Q&A profile
Visual C# Database Question
Ok. I have a database in attached to my program. What I would like the query to do is this. SELECT textBox1.Text FROM TableName; Here is the code I have now. private void doQuery_Click( object sender, EventArgs e) { sqlDataAdapter1.SelectCommand.CommandText = "SELECT" + textBox1.Text + "FROM TableName" ; dataSet1.Clear(); sqlDataAdapter1.Fill( dataSet1, "TableName" ); dataGrid1.SetDataBinding( dataSet1, "TableName" ); But ...Show All
.NET Development Class Library Protection
How could I protect my DLLs, so that others could not make reference to my DLLs Such like what happened when you directly reference the OE DLLs... Thanks for any advances. You can add a password parameter, but even then, people can disassemble your .NET code and read it, so really there is no protection at all. Obsfucators will help, but the only real solution is to write your code in normal C++. ...Show All
Visual Studio Express Editions I can sell an application made with visual express edition???
I have a question, if development an application with visual express edition and now I want to sell I must it pay some kind type of license to Microsoft by its distribution thanks. pd. sorry for my english is very bad ;). You do not have to pay Microsoft anything to be able to sell applications made in the Express versions just the same way as you wouldn't have to if you write your app in one of the higher (paid) versions. In case ...Show All
Visual Studio 2008 (Pre-release) Location transparency
Hi to all, I would like to know if in the WCF framework there is some features similar to JNDI in java, or similar to what a "Broker" pattern do , someone that receive a request and know where the real service is Or do I have to implement it (maybe extending the Entity aggregation sample ) Could you give me any suggestion Thanks in advance Alex Yep. That's rig ...Show All
Windows Forms Description of my function and his parameters
Hi, I d'like to create a DLL with some functions. Those functions will be used by external users, so i want to add a description of my functions and their parameters. For example : When I create the function : public function get_toto(v_idtoto&nb ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XBox and directX
I am new to game programming and directX and I would like to inquire about the following problems... I want to develop games for my Xbox; Is there a DirectX SDK for that or the DirectX10 SDK would work with it. If there is another SDK then where can it be downloaded from How do I view the game that I would be developing at my PC, through an emulator or something And can the LAN connection of the Xbox be used to dump the game resou ...Show All
Smart Device Development Strange problem on Pocket PC using VB.NET 2005
Hi everyone, I'm new to VB.NET 2005 and have stumbled across a very strange problem for which I cannot find a solution for. I am literally pulling my hair out! I'm developing an application for the Pocket PC 2003. I have a form which uses a Port to read incoming data. The data is read at 1 second intervals using a Timer control. The data that is read is then updated in to fields and labels on the form. It all works great until I dis ...Show All
Visual Studio Express Editions running the Personal Web Site Starter Kit
I created a Webpage using the Personal Web Site Starter Kit that comes with My Web Developers Tools. I know... I know... This guy must be a "green horn" since he is doing all that introduction stuff! Well, yes I am. Got to start somewhere! Anyways, I ran the webpage like the instructions said, before I ran the Configurator. Then I ran the Configurator and then tried to setup a user and give him (Me) administration priviledges. Whe ...Show All
Visual C++ Memory: App - Driver
How do I declare memory for use in an application and a driver I want declare a pointer in the app, "int *pData", then call some function so that the driver will allocate the necessary memory, pointed to by *pData, which can be accessed by both the driver and the app. I'm trying to port a Linux driver and Linux app. The Linux app is using mmap() function. Is there a Microsoft equivalent Thanks ...Show All
Visual C++ MFC help: use CHtmlView or ActiveX browser control?
I'm writing a dialog application that has a browser control, but trying to decide between the two. is it better to use CHtmlView or the ActiveX broswer control If I insert ActiveX control (Microsoft Web Browser), is it safe to assume that most windows machine can run it (e.g. win 98/NT/2000/xp) If I use HtmlView, I have heard that if I use CHtmlView it might cause memory leaks. Is this still true ...Show All
Windows Forms giving a panel focus
I am sure its simple, but I have searched about and can't seem to et something working. Simple window, i created a panel in. Here is what I have and have tried: The commented portions are what I have tried. [code] private : System::Void IrrlichtPanel_Paint_1(System::Object^ sender, System::Windows::Forms::PaintEventArgs^ e) { ObjDisplay->init((s32) this ->MyPanel->Handle.ToPointer()); //this ->MyPanel ...Show All
Windows Forms passing variables between forms again :)
I have read about five different threads about passing variables between forms and none of them have made much sense to me or helped me. I know i am very new and green but can't seem to figure it out. So one more time could some one help me in simple terms. Show me how to be able to access data from one form to the next. I am wanting to for example access a string that i have assigned in form1 and use it in form 2. Don't know how to do it. I am ...Show All
.NET Development How to get 64-bit MIDL files to work right?
I have an IDL file that I wrote that builds and runs fine. Now, we have a requirement to make our server run on 64-bit. According to the MIDL compiler docs: "Use the /env win64 switch to generate 64-bit stubs only. The default is to generate dual stubs that run on both platforms." However, I do not find that to be true. If I specify /env win64, I get 64-bit stubs. But, if I don't specify anything, I do not get dual stub ...Show All
Windows Forms Returning a Collection Class
Greetings, I have created a custom collection class that I would like to return from a function (i.e. return customcollection;). However, a runtime error is generated when I call the function that's suppose to return the custom collection class. ...Show All
SQL Server Can't debug DataFlow Script task
I have debugged a Control Flow script task and everything went as expected. I put a breakpoint somewhere in my script code, press F5 and execution will break there. However, when I try the same in a Data Flow script, execution does not break! Moreover, when I reopen the code right after I closed VSA, the breakpoint is not there anymore... Any help would be appreciated. Regards, Henk Henk, There's a simple answer ...Show All
