DFX1212's Q&A profile
Windows Forms How to change a sql string "on the fly"
I am using vb.net 2.0 visual studio professionel. In my dataset i have a sql command that look like this: SELECT jumboId, nr, navn, tekst, aar, dato, pic FROM tblJumbo ORDER BY nr created with the TableAdaptor configuration wizard. I wonder, is it possible to change that string, or add a new one, when the program is running It is called like this: .TblJumboTableAdapter.Fill(.JumboDataSet.tblJumbo) If i want to change the select command to: SELECT jumboId, nr, navn, tekst, aar, dato, pic FROM tblJumbo WHERE nr = 2 ORDER BY nr (This is only a simplified eksample, the real one is much more complicated). The string is depending of the users choise. Anybody know how to do this Maybe i am blind, i just can seem to ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Now that D3D10 hardware is available...
... has anyone actually been able to run their own programs using only publicly available resources The October SDK requires Vista RC1, which I'm currently using. Seems that they made some DDI changes in Vista RC2 such that it is no longer compatible and the latest publicly available drivers from Nvidia seem to be for RC2 only (makes sense). Even then, I have no idea if these RC2 drivers actually enable D3D10 on their new GeForce 8800 hardware. I doubt any archived RC1 drivers have the necessary parts (can anyone confirm ) nor would any "in box" default drivers. I presume various developers have been using GeForce 8800 hardware behind closed doors for a while, but they'll have access to Nvidia's developer relations te ...Show All
Software Development for Windows Vista Problem with the manifest file for Vista
Hi, I have to embed the manifest file for my application for Windows Vista. I have added all the necessary information in the manifest file and embedded it to my application using .rc file of my application. And it is working file. But I am facing the problem of the different manifest files for Debug and Release version. Please have a look at the following: In Debug version: < dependency > < dependentAssembly > < assemblyIdentity type = ' win32 ' name = ' Microsoft.VC80.DebugCRT ' version = ' 8.0.50608.0 ' processorArchitecture = ' x86 ' publicKeyToken = ' 1fc8b3b9a1e18e3b ' /> </ dependentAssembly > </ dependency > < dependency > < dependentAssembly &g ...Show All
Windows Forms AxDSOFramer.AxFramerControl
I am hosting an Excel spreadsheet in an instance of the AxDSOFramer.AxFramerControl object. There are properties to turn the menus, toolbar, and status bar on and off. However, there is no apparent way to control which menus are shown. If the Toolbars property is set to false, the Web Toolbar is shown. If it is set to true, the web, standard, and another toolbar are shown. Is there a way to control which toolbars are displayed Here is the code snippet... private AxDSOFramer.AxFramerControl axFramerControl1; axFramerControl1.Open(m_FileName, true, null, null, null); axFramerControl1.Toolbars = false; axFramerControl1.Titlebar = false; axFramerControl1.Menubar = false; Thanks for the help! Mark. Hi Bria ...Show All
Visual C++ problems in rebuilding msdn/sample/1566 (win32 hooks) sample application using makefile
has anyone tried to build the sample file 1566 (about win32 hooks by Kyle Marsh) using make file I encountered LIBCMTD.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenc ed in function ___tmainCRTStartup hooksdll.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\l ink.EXE"' : return code '0x460' Stop. does anyone know the problem thanks I am not familiar with the sample but if the sample is a DLL then your project is incorrect. If you don't know what I mean then you should become more familiar with VC before trying something that advanced. Doesn't the article say that you should ...Show All
Visual Studio Team System Not all work items are displayed.
In a CMMI project I am running the "Related Work Items" report and only certain work items are returned (no rhyme or reason that I see). Hundreds of work items should have returned as how the filters are set. The report(s) are accessing the data warehouse. Open to try/test anything at this point. Running: Microsoft Visual Studio 2005 Team Explorer -- Version 8.0.50727.147 Thanks for the post but still having the same results. Ran your suggestions and have tried every combination of filtering. Could the problem have something to do with how we are linking the work items ...Show All
.NET Development How to compare 2 files...?
Hello All of you, I have a little problem. I working on a small project and in this moment I'm stuck. I need to see that 2 files have the same content, I know I have to use StreamReader and StreamWriter, but how do I do it easiest... I hope you can help If you dont need to show the differences, you could just hash the two files and then compare the two output hashes, that would tell you if they were different. Just as easy to implement too ...Show All
Visual C# Process Module
Hi, I have an application which lists all the running processes of the machine and i need to get the full path from which the process is running. I am trying to use the following methods : Process.MainModule.Filename Process.MainModule.ModuleName The above code doesn't work it throws an exception "Unable to enumerate the process modules" any thoughts Regards Alan I tried this also - its not a problem with full trust, or with Vista - im still also getting the same error too! running .NET 2.0 on WS2003, patched up etc... on admin account. Thought I would give the heads up! to me, as pretty much hinted/suggested, could b ...Show All
Windows Forms Values dont change but.....
I have properites set up in my classes like this private bool _IsDirty = false; public int SomeProperty { get { return _SomeProperty set { if(_SomeProperty != value) { _SomeProperty = value _IsDirty = true // which mean the value has changed } } } now i have this in my form closing event because if the user changes information but tries to close the form before he clicks the save button it goes here....When the form loads it shows all the information pertaining to an object...the object properties are all binded to controls on the form so thats where the _IsDirty checks to see which ones have changed.... LoadFormToObject();// this is the binding of contro ...Show All
Software Development for Windows Vista Tracking Query returns null
I have update the Workflow Foundation from the Beta 2.2 to the RC1. In the RC1 there is no "SharedConnectionWorkflowService" anymore. It is called "SharedConnectionWorkflowCommitBatchService" now. So I changed that. Since that I get an error in following code statements: SqlTrackingQuery sqlTrackingQuery = new SqlTrackingQuery (ConnectionStringWorkflowService); SqlTrackingWorkflowInstance sqlTrackingInstance; sqlTrackingQuery.TryGetWorkflow(e.WorkflowInstance.InstanceId, out sqlTrackingInstance); The method "TryGetWorkflow" doesnt populate the SqlTrackingInstance. It is being null. Before changing the Shared Connection Service it worked. Any suggestions, where the problem may be Thanks ...Show All
Windows Live Developer Forums pin's registration point
where is a push pin's registration, the top left, top right, center...etc The pin image is centred on the lat long. You set a css style class for the pin and then use the top and left styles to specify the offsets required. http://www.soulsolutions.com.au/Blog/tabid/73/EntryID/31/Default.aspx John. ...Show All
Visual Studio Team System Hierarchical work items
Hi all I played a little with the work items in VSTS and I wondering if it is possible to define hierarchical work items. This would be a feature that I need for shore. I saw that there is an "Add related work item" menu, but using this is not really giving me the hierarchical feeling that I need. Is there a way to define hierarchical work items Regards. George. Thanks Mohammad, I will try to build a parent field because the other solution is to complicated, at least now (I'm new to TFS and VSTS). Regards George. ...Show All
SQL Server Can't Creat Subscriptions
We're new to SQL Reporting Services and have a new SQL 2005 server. I'm having a problem activating scubscriptions. - "New Subscription" is greyed out in Server Management Studio. - Subscribing via the browser, even as the Content Manager, allows you to fill in the form for the subscription but then reports the following error; "The current action cannot be completed because the user data source credentials that are required to execute this report are not stored in the report server database. (rsInvalidDataSourceCredentialSetting)" Any suggestions Found the problem. When configuring the Data Source the "Impersonate the authenticated user after a connection has been made to the data source" b ...Show All
Visual Studio Express Editions your sql server installation is eaither corupt or has been tampered with (could not open SQLEVN70.RLL)
i have tried un installing it and re-installing it over and over and there is no change! please help me! I found this post on another forum. Can you see if this helps http://www.experts-exchange.com/Applications/MS_Office/Q_21754121.html ...Show All
SQL Server Is it possilbe to load my data directly?
I have thousands of records, which are .txt format, to be loaded to the DB and need to mining them. The only way for that is to write a program and read them to the DB or can I load them directly And also I have to design the tables based on these data myself, right Thank you. Thanks, Jamie. That really helps me a lot. Hope the Input Record Fielding is not a must for the mining and that will save me a lot. I think I get your meaning about the nested table, which should be added during the mining work for such structure is not supported when I prepare for the tables. Thanks again. ...Show All
