Martin Kristensen's Q&A profile
SQL Server Dynamic data source name...
Sorry if this is a pretty basic question.. but my team here is working on SQL Reporting app for the first time. is it possible to put the data source name/connection string in a config file (like web.config) and have the reports use that from there What is the standard way of doing this while trying to deploy the reports on different servers Thanks Hi, Can't seem to get the dynamic data source name to work either, yet we have a brand new SQL Server 2005 installation running with Reporting Services. When I simply go to the Data tab to add the ="....." to my existing connection string (so I'm not even trying to use any report parameter at this stage), it still doesn't work as if it wouldn't interpret it corr ...Show All
Windows Forms Build a login form
Hi I'm a bit new to C# programming I want to build an application that a user logs in. But what i want to know is what is the best way to go about building log in and user maintenence One would need to have the users in the database, then check password and username. then check whether they are logged in. If simple like that i have no problem. But how does one check from another workstation like the server what the users current activity is If they logged on if we don't store log in status in database What forms they have open Is it possible to ping the clients workstation that is connected to server The reason i ask is becuase if you store everything in database like log on status, if there is a power failure it will show us ...Show All
Windows Forms add/remove program icon
Hi All, Could someone tell me how to set the icon for it to display under control panel | add/remove programs My icon is coming properly in the application short cut and in the programs folder but not in the control panel. I know this is coming from the uninstall icon from registry, is there way we can set it up through click once Thanks. Sorry, ClickOnce does not support showing app customized icon in Add/Remove programs. App icon is shown in download progress UI and start menu shortcut. Add/Remove programs shows default setup icon for all ClickOnce apps. Regards, Sameer ...Show All
Visual Studio Express Editions ISO file for SDK
So, I decided to burn a CD. I downloaded what was billed as an ISO image: http://www.microsoft.com/downloads/details.aspx familyid=E15438AC-60BE-41BD-AA14-7F1E0F19CA0D&displaylang=en First off, is that the correct latest and greatest The file that got downloaded has a type extension of .img , not .iso as I expected. My burner (Nero) does not recognize the extension. What's up with that I was able to make a CD of VC++ Express with no problem. It had a .iso type. Anyone know what I can do with the .img file Or better yet, where I can get the .iso file orcmid wrote: For the Platform SDK from here , be sure to use these instructions . (For the last changes, you can make a copy of the file to be modified ...Show All
Visual Studio 2008 (Pre-release) Drag and Drop in the Same TreeView
Hi, Iam trying to move nodes in a Treeview using Drag and Drop on the same treeview. When i try none of the Events Like Drop, DragOver get fired. When i try to drag an item from Explorer etc and try to drop it in the TreeView the events are fired ie drag and drop from an external source works fine but when the source is same as the target the events dont get raised. I will like anyone to guide me on how to drag and drop in the same TreeView. will this work http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1054776&SiteID=1 ...Show All
Windows Forms Unable to update the dependencies of the project AKA vsdeploy.chm:2300 - Information Not Found
I have installed VS 2005 Pro on a workstation for a contract job. I installed all of MSDN. I was having no problems for the first 10+ days with a solution that consists of a VB project and a deploy project that includes the one .exe and 2 Crystal Reports DLLs. Monday, I was prompted to install a critical MS XP update that turned out to be Genuine Advantage Verification. I installed it and rebooted my system as instructed. Since then, whenever I try to build/rebuild the solution or the deploy project, I get an error message "Unable to update the dependencies of the project." When I right click on this description, then select "Open Error", I get a help screen with the heading "Information Not Found" with sug ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creating publish For Non XNA PC's
hey all Have a problem when trying to run my XNA exe's on PC's without XNA installed, i have the new version of XNA and the redistributable, however, the game will not start. i have created publish file using the build publish option within the C# express and installing to the hard disk. if anyone has this working please could you let me know... Thanks Hi Canal. We don't support the publish wizard in VS Express in our current release. To get your XNA game working on your PC (without GSE) you have to install the following: 1) DirectX 9.0C End-User Runtime 2) .NET Framework 2.0 Redist 3) XNA Framework Redist (Beta 2) We know that this is a less than ideal situation. For V1, we didn't have t ...Show All
Visual Studio Express Editions Question about the EULA
Hello. I'd just like to ask, is the EULA just an agreement between the maker of software and the user, or is it actually a legal thing if it is a legal thing, how do you get it Am asking because as am still new to programing I dun't fully understand it, and av still got a lot to learn. Than you. Hello Dman1. Thanx for that. Do I have to get a copy of the EULA of put with any software I make and distridute If so how/were do I get a copy for for Visual Basic 2005 Express Edition to include in my software And Does this count as well if I want to make software as Freeware Am sorry for all the questions Dman1. Am familier with the EULA for the user side (clicking accep ...Show All
Visual Basic error in HasMorePages
Hi How can I Print 4 pages using PrintDocument Control I use this code but i have one page only Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage Dim I As Byte Dim M As Byte = 0 While I <= 200 e.Graphics.DrawLine(Pens.Black, e.MarginBounds.Left + 10, e.MarginBounds.Top + 30 * I, e.MarginBounds.Right, e.MarginBounds.Top + 30 * I) I += 1 M = M + 1 If M = 50 Then e.HasMorePages = True M = 0 Else e.HasMorePages = False End If End While End Sub Help me please. Hi, I can see your thinking 200 / 50 = 4 pages but i don't think you n ...Show All
Visual C++ DlgProc and WndProc as class members
I have been trying to write a class to manage a bundle of windows - a dialog box with some controls - and have a problem. class pane { ... HWND hPane; ... BOOL CALLBACK PaneDlgProc(HWND, UINT, WPARAM, LPARAM); public: ... pane(HWND); ... }; pane::pane(HWND hWnd) { ... hPane=CreateDialog(g_hInst, MAKEINTRESOURCE(IDD_PANE), hWnd, PaneDlgProc); ... } BOOL CALLBACK pane::PaneDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { ... return TRUE; } This returns a compiler error: error C2664: 'CreateDialogParamA' : cannot convert parameter 4 from 'BOOL(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC' If I declare the DlgProc globally, and call: hPane=CreateDialog(g_hInst, MAKEINTRESOURCE(IDD_PANE), hW ...Show All
Visual C# Update method of tableAdapter
Can anyone offer advice I have been working through the Absolute Beginner Lessons, and in Lesson 6 (SqlServer & DataBinding) have been uanable to reproduce Insert/Delete into a sample database following the examples in the lesson. Making changes to the 'strongly typed' dataGrid dragged from the toolbox, and using the Save button on the toolbar, I get an error about the Update method commands. The same happens using databound textboxes updated by the click_ event of a button. Thanks, Andy ...Show All
Smart Device Development rerieving the status of phone
hi all , in my application , i want to handle a following situation . 1. when the incoming call comes , i have to pause my application or the settings should be saved . 2. how to handle the incoming calls . hi raja, how to include the above assembly reference . is there any method to include the assembly reference . i added ur above code . but its showing compilation errors . could u help me in this . thanks sadiq ...Show All
Visual Studio Team System TF10121
Hi Everybody, I've got a "TF10121: The path '' is not found or not supported. Type or select a different path " error in VS2005 when adding a project with the same name of a project that was deleted. I've tried googling it and searching these forums for it and the only reference I've found is in this thread: Re:error MSB3202 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=395343&SiteID=1 The circumstances decribed there are exactly the same as in my case, however because the thread was about something else it did not continue to discuss THIS problem. My question is: Does anybody know how to add a project with the same name as a project that was deleted, or I will have to wait until it is fixed... Th ...Show All
Visual Basic Import txt file to DGV export DGV to dB
Not sure if this is possible or not but, I have a comma delimited text file that I am succesfully reading into a datgridview. I am trying to take the data imported that is in the datagridview and put it in an access db, and an excel file based on the results returned from a combo box (ie. combobox selection is xml, xls, or mdb, etc...) What I have done so far is set up an acess file, the datatable, and the tableadapter for it. I also creadted another datatable that is bound to the datagridview column names. I then linked the two datatable column names together. It didn't work. Is there another wat to do this Any help is better than where I am now. I appreciate all your input. Thanks! :) Here is part of my code... Dim fileEx ...Show All
Game Technologies: DirectX, XNA, XACT, etc. please help
I'de put a pictuer up of the insidint but i can't. When i try to debug it will say, "Couldn't connect (ALOT of stuff) please rebuild project, or place in the right location." i put the right location and i started all over but it's like not working for me soneone please help me!! Using my psychic powers, I believe the original poster is trying to cross-debug from Windows to Xbox 360. When trying to start the program, the 360 apparently does not answer, and the IDE will generate an error about that fact. Make sure that you're signed in to the creator's club, have set up the Xbox to listen for PC connections, have added the right IP address, etc. I think there might even be an Xbox remote d ...Show All
