Nathan Scott's Q&A profile
Visual Studio What happened SourceSafe web service access in Beta 2?
A collegue of mine has just setup a SourceSafe 2005 database and configured it for internet web service access. I have Team Suite installed including SourceSafe 2005, but I am unable to find an option anywhere which would allow me to connect to it. I can connect over a local LAN or over the net via file sharing, but I can't find the web service protocol. I was informed this feature was in Beta 1. Anyone know what happened to it I thought Beta 2 was feature complete since the Go Live license is available.... Now i managed to get it to work. I had enabled the internet access while the proj ...Show All
Visual Basic Compiler sending back null exceptions
In my Try Catch, sometimes the exception returned looks like it is a NULL or space (I can't really tell, just that when I print it out in a MsgBox, it is blank sometimes which causes problems later) sometimes. how can I check the exception for length or something then if it's null, replace that blank exception with some sort of text i I have to pass the execption to my email function and my email function cannot take a null like this...so I need to convert it to a valid string if it is null or blank like this first that is the CLR returing the ex as exception correct string.isnullorempty is what will check if the string has anything ...Show All
SQL Server Report model
Hi, In my database I have a table with user rights. For example: User 1 may see region 1 User 2 may see region 2 and 3 Is it possible to use this in my report model. When user 1 makes a report with the report builder he must not be able to see region 2 and 3. thanks in advance You can use the SecurityFilters property on the corresponding model entity to grant permission to specific rows. In addition to the online documentation, look for a post on my blog in the near future for more details on the many options for securing the data exposed by a report model. ...Show All
Visual Studio Team System Delete global list imported by glimport?
Can you delete a global list that was imported by glimport If so, how Thanks. You cannot delete a global list once it has been created - this is not supported. Thanks, Alex ...Show All
Software Development for Windows Vista MSDTC Warning, started showing up after a DC demotion with DCPROMO, now I have only 1 DC, and a member server, and the roles OK
Event Type: Warning Event Source: MSDTC Event Category: SVC Event ID: 53258 Date: 5/22/2006 Time: 4:02:41 AM User: N/A Computer: EPC Description: MS DTC could not correctly process a DC Promotion/Demotion event. MS DTC will continue to function and will use the existing security settings. Error Specifics: %1 For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp . This is a known issue. The warning itself is harmless. To get rid of it, follow these steps: 1. From Administrative Tools, start Component Services. 2. In the MMC snap-in, go to Compo ...Show All
SQL Server Connection failed!
Hi guys, I have problem with this code: TCHAR szCurrentDir[250]; TCHAR szDataDir[250]; lstrcpy(szDataDir, TEXT( "DRIVER={SQL Native Client};SERVER=.\\sqlexpress;Trusted_Connection=Yes;DATABASE=MyDic;AttachDBFileName=" )); GetCurrentDirectory( sizeof (szCurrentDir), szCurrentDir); lstrcat(szCurrentDir, TEXT( "\\Database\\Data.mdf;" )); lstrcat(szDataDir, szCurrentDir); SQLDriverConnect(hdbc, hWnd, szDataDir, SQL_NTS, szConnStrOut, sizeof (szConnStrOut), &cbConnStrOut, SQL_DRIVER_COMPLETE); When I run my program, I get this message: --------------------------- Microsoft SQL Server Login -------------- ...Show All
Windows Forms How to store the database connection string?
when i develope a database application thanks! Hi, It really is your decision. There are a lot of ways to do that. You could do it through (but first encrypt the file) registry, in an xml file, ini file or simply in a text file. Also, some uses sockets that the server would provide the connectionstring... But I don't suggest hard-coding it in your source code... Just see all of the posibilities and decide on your part if its work the risk, or worth the sweat... cheers, Paul June A. Domag ...Show All
Visual Studio Express Editions How to display Message Box using C#
Hi, Im using c# as my code behind in my aspx page. How to display message box using c# in my aspx page. Nakkeeran You should try posting your question on http://forums.asp.net as they are concentrating on web development questions and topics. ...Show All
Visual C++ UB in macros? (MS VC compiler does unbelievable tricks)
Sure it does. Here we go: #define Yad(x) Y ## x Yad(() Result - error. Here we go again: #define Yad(x) ( #define REDO(x) x #define AREDO(x) #x A ## x #define A(x) A ## REDO(x) A(Yad(x)) Result - "(" A( Is it conformable with C++ Standart (This trick doesnt work in gcc) Why it works so Ok, I will do it. BEGGING MY PARDONS, there were a little error in the source code, so it's work wasnt correctly (bug wasnt seen). But now I fix it, so the bug is now seen. Submitted to lab. ...Show All
Software Development for Windows Vista Event Queue operation failed with MessageQueueErrorCode QueueNotFound for queue
Hi I have workflows that are persisted in sqlpersistenceservice database in state 1 that has eventdrivenactivity with handleexternaleventactivity that listens to ISeller interface event. I changed the code activity inside workflow class that is inside state 5(I have more that 30 states inside workflow, which means that workflows that are persisted didn't execute code activity that was changed). I deployed new version of workflow, and tried to execute handle external activity on persisted workflows in order to transfer them to state 2, but I receive this exception: Message "Event Queue operation failed with MessageQueueErrorCode Queue ...Show All
Visual Studio MSSCCI Warning from VS2003
I'm working on a version control system for VS2003, and get the following warning whenever I open up VS2003. "To ensure optimal source control integration with Visual Studio .Net, check with your source control provider for compatibility and update information." How do I make this go away When I release my version control system is there anything I need to do in terms of getting any approval, etc. from Microsoft Thanks, JD Hi JD, Normally you get this message when you’re using an older version of a source-control provider, which does not support some functions and you end up with somewhat limited o ...Show All
Windows Forms Form navigation between forms
Hello, What is the best practice for navigating between forms. I have a mainform with two buttons. The buttons navigate to form1 and form2. I currently do the following from mainform to navigate to form1 Dim form1 As form1= New form1 form1.Show() me.hide to go back to the mainform from form1 I do Dim mainform As mainform = New mainform 'mainform.Show() Me .Close() I only want to open 1 instance at a time so The taskbar does not fillup with open forms Is this the right approach, as I will be having more than 20 forms navigating from the mainform and I really need the right approach. Thanksd Peter   ...Show All
Windows Forms adding listbox content to certain lines of a text file
Hi Everyone, I was working on this app for a while tonight and i was wondering could someone help me. I am making a app where you drag and drop files into the listbox and the filename shows in the listbox i have got that part out the way now i am on getting the filenames in the listbox to be appended to certain lines of an .ini file (for example like listbox entry 1 will go on line 32 so on and so forth.) here is what i hvae so far any and all help is appreciated button2 is where i want the process to occur Click Here to See picture using System; using System.Collections.Generic; using System.ComponentModel; using Sys ...Show All
.NET Development Compiling in Native Code
Hi, I am having managed code in C#.Net, I want to compile it in Native code instead of MSIL, is there any compiler option available in the .Net IDE, how shall i compile my code in native code. Thanks & Regards Benin. The idea of .net is to compile into native code at Runtime using a JIT compiler (CLR). There is no IDE option/compiler switch to do this. You can optimize the IL output for an architecture (anycpu vs 32bit / 64 bit). If you still want to compile into native code, you can use ngen.exe. But this isnt a fool proof way of guaranteeing that the JIT compile will never happen. When you execute an assembly, the r ...Show All
Visual Basic How to display an alert message in VB.NET
I am developing an IT Asset Tracking System using VB 2005 Professional. One of the fields I have is a Warranty Start and Warranty Expiry date. I would like to be able to display some kind of informational alert to indicate that a particular asset's warranty has expired or is about to expire in 7 days. How do I go about implementing something like this and where is the best place to display this. Regards Dipendra Let's assume that you have a list of the data sorted by expiration date, which you are keeping updated. (This could be a separate list of existing objects that you are inserting into, or ma ...Show All
