LisaF's Q&A profile
SQL Server multiple instances of Reporting Services - is it possible?
Hi there, is it possible to host multiple Reporting-Webs and Reporting-Databases on a single Server What I want is to create two virtual directories http://myserver/reports http://myserver/reports_internal and each web points to a different Database with different reports. Best regards Markus It would be very helpfull if you could tell me how this work! Thanks Markus ...Show All
Smart Device Development Time comparison
Hi Can somebody teach me that given 2 time for example: lblstarttime.text = now and lblendtime = now, how do i compare them in term of days, hour, minute and second You can subtract one from another using DateTime.Subtract which will return TimeSpan object. ...Show All
Visual C++ running unknow methods
Hi, I have a object with 'function attribute' - void (*function1)(CString); Another object have a function what i want to call from first object. I made code like this, but if the called method is member of some object this syntax doesnt work. How can I write it Thank you class CRAPIFunc { void (*function1)(CString); void runMethod(void) }; CRAPIFunc::runMethod(void) { function1(); // run unknow method !!!!!!!!!!!!!!!!!!!!!!! } //--------------------------------- class AnotherObject { void FunctionToRun(void); void assoc(void); } AnotherObject::FunctionToRUN( ...Show All
Visual Studio Express Editions Which edition to install
Dear All Without wanting to start a religious war (but probably managing to anyway) I'd like some pointers on which of the Express editions would be best to code my project in. The project is thus: An application to design the layout of advertisements in magazines by reading the advert booking details from a database and then storing them in the appropriate page of the right magazine. Then printing off A3 layout 'thumbnails' of the pages and ad positions. Currently this is all done on A3 sheets that are photocopied and ruled up with a pencil (obviously time consuming when the layout is changed) My thought was to have the ma ...Show All
Windows Forms Filtering Datagrid in a Master/Detail relationship.
Gurus, I am pretty new to the .NET stuff, so please excuse me if this seems too easy. I have a master/detail relationship in a dataset bound to two datagrids. Works well as it should. Now I need to provide a filter option on the master datagrid. The problem is after setting DefaultView.RowFilter to the filter expression, the master datagrid needs to be ...Show All
Windows Forms Creating a windows service
Hi, I am having problems creating and running a windows service. I am using VS 2002 and using the service template. I have created the installer and setup project. I basically walked through the example given in the help. When I start the service from the services control it starts but appears to hang. The progress bar moves all the way to th ...Show All
Windows Forms Clickonce online problem : Cannot download the application
Hi, I made a small Windows forms app that I published with no problem as a disk install using clickonce. However when I tried to make that app available as an online only launch, I ran into problems. Namely I get a 'Cannot download the application. The application is missing required files. Contact applicatio vendor for assistance (sic!)" message. I notice something strange in the log : the url of the download start is correct (servername/foldername/appname.application) but the one in the error is not (server/appname/appname.application. Does anyone know if that's the problem and how to resolve it Thanks, MM OPE ...Show All
Smart Device Development .Net CF Getfiles IOException
Hi, i've a problem with my VB.NET application and GetFiles() function. I try to run my application on Emulator. I've shared a folder in my Desktop simulating a Storage Card and i try to access files on it but GetFiles() function return IOException error... Any suggestion to solve this problem I use Visual Studio Team suite 2005 beta 2. thanks Andrea. Can you please send me your VB.NET code (either as a post on the forum or a private email to barrybo@microsoft.com ) I'll take a look. Thanks, Barry ...Show All
.NET Development WSE 3.0 question
I am new to WSE 3.0. I was trying to use one of the sample which comes with WSE 3.0. The sample demonstrates how to use kerberos security. But when I try to run the sample I get following exception: "Security requirements are not satisfied because the security header is not present in the incoming message" I also tried to create kerberos token and set it on proxy, but no success Do I have to make any changes to the sample before I can run it. Thanks in advance KDV Depending on whether you are using the code example or the policy example have you update the policy to have the name of the host you are talking ...Show All
.NET Development Connection not Alive
Sorry to post again, I think the other one has been forgotton I have a Windows Form, (Application). On that I have a TextBox called txtIdNum, a Button, and a TextBox called TxtNombre What i want to happen is when someone types into the txtbox txtIdNum, and press the button, the code will search the MSQL table, and select all the fields where FIELD IDNum is = txtIdNum.Text Straight forward, easy to say. My code is the following System.Data.SqlClient.SqlConnection conn = new System.Data.SqlClient.SqlConnection("SERVER=localhost;DATABASE=test1;UID=sa"); System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.S ...Show All
SQL Server T-sQL questions
Hi: Some basic T-SQL questions please: 1) When I make changes to a stored proc (drop and recreate ) I have to reissue EXEC permission to users. Is there a keyword that helps to avoid that 2) In a SP I have multiple select statements. I'm only interested in the results of the last statement. When I run the SP from Query Analyzer it returns a result set for each select statement and When I call it from ASP.net I get .rowcount = 0. What am I doing wrong 3) Is there a way to return a result set from a SP to another SP that avoids cursors I'm using a temp table in the outer proc and filling it in the inner proc. Thanks, B. ...Show All
Visual Studio Express Editions Visual C++ Runtime Library solution
HELP... I have a runtime error on Windows/system32/RMG.exe every time I turn on my computer...can't shake it out To "Dee Davison": This problem is caused by rmg.exe (a possible spyware). It is nothing to do with Visual C++ (apart from the fact that it was written in a programming language called Visual C++). In any case, this is wrong place to ask such questions. Go ask the people who made rmg.exe for support. Do you know who they are If not, you are recommended to ask in one of the newsgroups located in http://msdn.microsoft.com/newsgroups instead. RajShri, I've split your post and moved it to the Visual C++ general ...Show All
Windows Forms Position of context menu
Hi, How can I get the position of context menu Thank's Alexei Normally, the context menu will be shown at the center of the control when the keyboard is used to invoke the context menu of a control (Shift+F10, for example). You can customize the location as follows. Override WndProc in the grid and check if the Message.Msg is WM_CONTEXTMENU (0x007b) If so, check if the Message.LParam is -1, which means this was due to a keyboard message as opposed to the user right-clicking the mouse. Now, call the associated ContextMenu's Show method explicity at the selected row position. Make sure NOT to call the base class after show ...Show All
Windows Forms Drag & Drop Question
Hi all I have a small problem with drag and drop in my application. What I want to do is: Drag some text into a multiline textbox, this works, no problem. But I'd like to drop the text at exactly the position in the existing where I release the mousebutton. At the moment it only drops the text at the last cursor position, no matter where ...Show All
Visual C# How can I hide a TabPage?
Hello, I want to hide a TabPage (not delete it), how can I do that Please help. tabPage.Hide(); ...Show All
