Eudi's Q&A profile
SQL Server Tool to generate a GUI
Is there a tool to generate easily a GUI I mean a Gui to access (read and write) information from the SQL Server. A tool like in access. Hi soanfu, Hmmm I know what you are asking, but it really depends on the complexity of the application you are trying to develop. If its a simple application, then it shouldnt be too difficult. If its a huge business critical app it would be very long and I should imagine difficult. Check out these cool MSDN Nuggets; http://www.microsoft.com/uk/msdn/events/nuggets.aspx Then once that has your juices flowing you might want to try these MSDN Webcasts; http://www.microsoft.com/events/series/msdnaspnetoct.mspx Im confident you will find answers and examples to ...Show All
Game Technologies: DirectX, XNA, XACT, etc. VS2005 Pro
is there a version of XNA Game Studio for c# from visual studuio 2005 as this is the version i have and i dont think having two versions of c# installed would work to well. thank you I think the tools are going to be released free since they are after a big chunk of the game dev community. I don't think they are going to charge though i don't know they are still probably trying to iron that out. One way or another though eventually there will be the ability to code in VS Pro free i am sure someone will come up with hacks and plugins some how. I dont' know 100% though. ...Show All
.NET Development Comparing sql decimal to .net decimal
I pull decimals from a SQL 2000 database that have a scale of (14, 6). Let's say the value from SQL is 0, so it comes out 0.000000. I then do the following comparison: decimal x = 0; Convert.ToDecimal(column["column name"]) == x it comes back false. Why ! How can I compare a SQL decimal with a scale set to a local decimal 0 would not be equal to 0.0000 because you used == as your condition. == means that the two values you are comparing should be EXACTLY equal. It is better to convert both into the same format so that you can have accurate results in comparisons. you can add something like this inside your loop if (IsDecimal(column["name"]) == true) column[" ...Show All
Visual Studio Tools for Office Deploying VSTO Word Project: could not find or load customization assembly
Hello! I developed a custom task pane with VSTO for a Word2003 report and now I would like to enable access for my clients to this document. I copied the document to a server folder in my intranet and tried opening it, but I got the following error:: "The customization assembly could not be found or could not be loaded" "The customization does not have the required permissions to execute." Therefore, I need to grant access to a server folder where the document and the assembly will be located. I checked http://msdn2.microsoft.com/library/k64zb6we(en-us,vs.80).aspx and followed the "How to: Grant Permissions to Folders and Assemblies" procedure step by step. However I still keep getting the same error! I noticed this note "You must be ...Show All
Internet Explorer Development How do I access Document object for a remote IE browser window?
Hello- My company submits financial information to an accounting firm every month via a secure web site html form. This html form is quite long, and I would like to write an application that will automatically fill in this html form with the financial numbers which I can programatically pull out of our database. I imagine that the way it might work is that I navigate to this web page in an IE window, and then run my custom app to populate the form. I assume that I will need to access the IE Document object to do this. My question is: How do I retrieve this IE Document object from another app I understand that there is an IE toolbar API that has access to the Document object. However, I would preferably like to develop the app as a ...Show All
SQL Server Problem using SQL Server Mobile 2005 with Windows Mobile 5 application
Hello, I am developping a non-managed C++ application for PocketPC using a SQL Server mobile database. The application is compiled for PocketPC 2003 and uses SQL Server Mobile v2. I use Visual Studio 2005. But I need to compile the application for Windows Mobile 5.0 devices. So I installed the WM5 SDK and had the WM5 into my project configuration. The "ssceoledb.h" which I include incluses the "transact.h" file. But my problem is that this file is only provided with the PocketPC 2003 SDK and not in the WM5 SDK. So I cannot use the WM5 configuration project with SQL Server. I also tried with the last SQL Server Mobile 2005 (ie v3.0) and the "ssceoledb30.h" also includes "transact.h". Did I miss someth ...Show All
Visual C++ BUG: when throwing exception a copy occured.
class Ex { public: Ex() { destroyed = false; cout<<__FUNCTION__<<endl; } //Ex(const Ex& v) //{ // destroyed = false; // cout<<"copy:"<<__FUNCTION__<<endl; //} ~Ex() { destroyed = true; cout<<__FUNCTION__<<endl; } bool destroyed; void M()const { cout<<__FUNCTION__ <<": "<<(destroyed "destroyed": "not-destroyed")<<endl; } }; void M1() { throw Ex(); } void M2() { try { M1(); } catch (const Ex& ex) { cout<<"Catch-beg ...Show All
Windows Forms in a form i have six text boxes for auto fill
in a windows application i need to autofill six textboxes by parsing a resume can any one help me You need to know how to open the word document from .net C#, you can do it by "COM Interoperability ". This is a simple article http://www.c-sharpcorner.com/Code/2002/Mar/WordFromDotNet.asp The basic idea is the same. The main point is to locate the table, and then retrieve the data. ...Show All
Visual Studio Load Report Failed
I have designed a Windows application that has a fairly simple crystal report in it. I created the form, then added the Crystal Report Viewer. I added a report by browseing to my local machine and added the report to my solution. I pass parameters to the report via the following code. I would say that 4 of 10 times I call the report to be opened, it fails with "Load Report Failed". The other 6 times, it works great. This happens on my development machine in debug or from the actual installed package and from a machine that I have done a fresh install of the package. What am I doing wrong. I have downloaded the MSM file from Business Objects and added all, at least all of the files that I think I need to the project. ...Show All
.NET Development Invoke exe from Windows Service
I want to invoke an exe from Windows Service. I had tried using system.diagnostics.process.start but it is not woking. any idea..to do this......... Please help me...... Thanks in Advance... Regards, C.Babu. See Task Manager, it will be running hiddenly. To avoid this behavior. There is some property like InteractWithDesktop etc. I beg your pardon I dont remember what was it, Set it to true and I hope your application will be visible. Best Regards, Rizwan ...Show All
Software Development for Windows Vista InvokeWorkflow invoking method filling problem
Hi, i try to use the InvokeWorkflow activity but the invoked workflow never start. Both workflow are in the same project. I don't know how to start the invoked workflow and search give nothing so far. I want also to pass variables to the invoked workflow. If not possible i can pass them with an external event but for that i need to add my custom event service to the invoked workflow first then find how to call my raise event method. Any idea please I'm using the invoke workflow activity from the default toolbar. The reason i need a second workflow is because i must not wait for the second workflow tasks to complete. My main workflow still perform tasks and does not reach the completed state. ...Show All
Windows Live Developer Forums Somehow deriving an AddPolygon() from a Live Search Collection
Dear Group, I've recently begun to experiment with Virtual Earth. I do a fair amount of JavaScript programming in my real job; so I created a rudimentary script to allow me to plot a polygon representing a political district in my city. I'm an alderman running for re-election and I got interested in Virtual Earth as a means to make an on-line map of aldermanic districts. Anyway, here is my rudimentary page: http://www.swerbach.com/Neenah3rd/NeenahAldermanicDistricts1and3.htm Summary of functions: Start: Start recording mouse click positions as LatLong pairs Stop: Stop recording mouse clicks Del Last Line: Remove last polyline drawn on the map Display: Show recorded mouse clicks in new window So click the 'Start' button an ...Show All
Smart Device Development Cannot get VK_TACTION in ListView control
Hi, I have a dialogbox with ListView control on it, i'm trying to get the VK_TACTION in WM_NOTIFY (LVN_KEYDOWN) but i do not receive this key, i got other keys (VK_TUP, VK_TDOWN...) except this 1...anyone know y anyway to get the VK_TACTION in listview the program will receive WM_COMMAND with wParam = 1 when i pressed the action key...but i cannot get it in LVN_KEYDOWN.... thanks in advance... ...Show All
Visual Studio Howto programatically add references to active project?
Hi All, I'm relatively a newbie in dot.net development. But I've working experiences with VC/VB programming as well as Java. So, not finding too hard to adopt myself with the flexibility offered by dot.net framework. Recently I've been creating a web application development framework which will include a custom control library to be used in the web projects associated with the framework. To maximize the usability of the framework I've planned to create an Custom Web Project Item Template Wizard that will create a web form based on the framework when selected from the Add Item. As additional features in the wizard, I want the wizard to check active project references for my framework dll and add references to ...Show All
.NET Development Static Variable Causing "System.BadImageFormatException"? WTF?
After a long wild goose chase (which I began in another thread after allot of frustration) the following is happening to me in a project. It appears to be better to be in this thread area... This code does not work... in my project (it's simplified) public class myclass sub LoadRequiredData() Static iLoadedHour as integer = -1 if not iLoadedHour = hour(now) then 'reload the user data hourly and on the first pass. 'code here to load the user data from the database... iLoadedHour=hour(now) 'set last loaded hour to check against end if end sub end class This code does work public class myclass Private iLoadedHour as integer = -1 sub LoadRequiredData() if not iLoadedHour = hour(now) the ...Show All
