nmanger's Q&A profile
SQL Server Parametric
Hello, I'm using SQL 2005 and reporting services. I have several parameters, the report show two parameters in the same line and I would like to present three parameters in the same line. how can I do that This is not natively supported. The closest you can get is to write your own parameter frontend application and then e.g. use the RS report viewer controls to send the parameters to the report server and execute the report in "remote" mode. Other options include to send the parameters via URL-access from your custom frontend application. -- Robert ...Show All
Visual C++ .Net Framework
Hi, I have an application which I did not originally create. I develop it using Visual Studio 2003 - Visual C++.net. When I click on the configuration manager for my solution I can see that this platform, for said application is "Win32". I didnt think this was the case since my work (code) is developed compiled and run correctly using visual studio.net. Then i created a completely new project, visual c++ and chose the option "Windows Forms Application". Once this had set itself up I checked the configuration manager and it also told me "Win 32". Then I added a new project but this time in C# call ...Show All
Visual Studio Team System Team Foundation Server MSSCCI Provider Beta 2 Now Available (Feb 20, 20006)
The Team Foundation Server MSSCCI Provider Beta 2 is now available here . IMPORTANT: Beta 2 is not strongly signed, so you'll need to disable strong name validation as mentioned in the README. You can find details at http://blogs.msdn.com/buckh/archive/2006/02/21/536260.aspx . New in this beta: Support for Visual Studio 2003 and Fox Pro in addition to the already supported VB6 and VC6. Integrated Checkin - you can now associate/resolve bugs and specify checkin notes with your checkin Improved performance - opening controlled solutions, get, checkout, checkin, and compare/diff are much faster M ...Show All
SQL Server Installation Stalls at "Detecting Installed IIS"
I try to install but once it gets to Installation Status window it freezes at Detecting Installed IIS. What do I do to get past this wonderful step And who tested this installation process Better yet, who let it be releases with so many bugs Thank youl. I finally had success. Seems like turning it off (Symantec Antivirus) was not a guarantee for success -- I did turn it off before with no success; uninstalling all might have helped too where I then installed it fresh. ...Show All
Windows Forms how to active a special tabpage after confirm the messagebox?
hi i have a tabcontrol on my form , and it contains several tabpages. on tabpage1 , there is a button, when the user click that button , a messagebox appears.if the user click "yes" , to confirm the dialog box, tabpage1 shoul be hide and tabpage2 should be shown. how can i do that thank u for your attention Sorry :) private void button1_Click(object sender, EventArgs e) { if ((MessageBox.Show("Are you sure ", "Test", MessageBoxButtons.YesNo)) == Di ...Show All
.NET Development Outgoing IP?
Hi, I have a .NET client that has a TCP/IP socket connection to a remote server. This is done from a server which has several IP addresses assigned and configured at the network card. So, now I was wondering how I could direct the outgoing request through a specific IP of those assigned to the server. Assume, server has IP's 1.1.1.1/10 - I'd like the outgoing request to be sent with IP 1.1.1.8. Is there a way to do that Thanks, Tom To expand on what Durga is saying: // create a socket Socket s = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); // all traffic wil ...Show All
SQL Server How to UPDATE ID in SQL
Okay, I was able to delete some records from my db, however, I notice that I have some gaps in the record (ID) field such as 1, 2, 3, 5, 6,9... the missing numbers are the deleted records. How do I update these records to be in numeric sequence such as 1,2,3,4,5,6,7 I keep getting an error that ID is not updateable (set on Auto). How do I change it Thanks. I'm going to use two forms.... one with... and the other with the table naviagation control. It works. I'm not too concerned with rec# anymore... it was also to help nav records using SQL instead of using the na ...Show All
Visual C# Best practice
Ok, I have a question on what would be the best practice for a translator... If you have 5 languages: English, Chinese, German, French, and Swedish and you have different methods for converting each one into each other what would bet he best practice Heres an example: If you selected Chinese as the starting Language and English as the Ending Language it'll return "zh-CN%7Cen" as the code needed to post. I'm thinking i'll create an enum to store all the languages and then create a struct that takes the enum twice, once for starting and once for ending, and then a value. so i'll have something like struct LanguagePairs { Lang lan ...Show All
Visual C# Using usb-bluetooth from pc
32Feet.Net provides a managed library for the same. You can refer to the following posting about it http://www.kinlan.co.uk/2005/10/following-my-post-about-lack-of.html The library can be downloaded from http://32feet.net/default.aspx Regards, Nitin ...Show All
.NET Development Custom ConfigSections in .NET 2.0
Hi, I am porting one of my applications (written in .NET 1.1 to .NET 2.0). This (windows) application, has a configuration file (App.Config). In this configuration-file, I have a custom configSection, for instance: [code] <configuration> <configSections> <section name="test" type="NameValueSectionHandler" /> </configSections> <test add="xxx" value="yyy"/> </configuration> [/code] In .NET 1.1, this works fine. However, If I compile this in .NET 2.0, I'm getting errors: "could not find schema in ...Show All
Visual C++ Deprecated vsprintf
I have the following code: char buf[1024]; va_list va; va_start(va, s); vsprintf(buf, s, va); va_end(va); The Visual Studio 2005 Express Edition compiler gives the following error: Compiling... strgen.c .\strgen.c(87) : error C2220: warning treated as error - no 'object' file generated .\strgen.c(87) : warning C4996: 'vsprintf' was declared deprecated What do I do What do I replace it with Please help. Thank you. Thanks for the help, I've managed to solve the problem :) Glad to see such enthusiastic support. ...Show All
.NET Development Dual Field Primary Key
Using the VS2005 IDE I created a SQL Database with a single table. The table has a primary key made up from two fields neither of which is autoincrementing. Both fields are int's. The first is named 'Cert' and the second is named 'QtrRef'. SQL did not complain when I did this. I then used the Dataset Wizard to create a dataset. Everything seemed to work fine except that the autogenerated FIND method in the dataset is called 'FindCert' and only takes a single arguement. I looked through the autogenerated dataset code and can find no evidence that the wizard picked up any reference to the second p ...Show All
Visual Studio Two Page Report
Hi, I currently have a report that has 2-pages. The report is fixed-size, that its always a 2-page report. So my question here is, how to create another page in Crystal Reports Is it even possible BTW, each page displays different sets of data... cheers, Paul June A. Domag Hi, Thanks, I'll be trying this. And yes, Im placing Formula fields individually (the fields are calculated in the formula fields)... I'll give you an update if this solves my problem. thanks. cheers, Paul June A. Domag ...Show All
.NET Development internallyprotected access modifier? (not internal protected!)
Hi forum! I'm currently developing a library type project with a bunch of internal types responsible for internal logic. My problem: i can't use these types in protected methods of public library types! The compiler quits with an "inconsistent access modifier" error. So my question is, are there any plans to add an "internalprotected" access modifier (i.e. protected -- but only internally) to future c# specs The only solution i can come up with is to make the mentioned protected members internal accessible, but this would break my class design. Example: public class PublicType { protected void ProcessData(Inter ...Show All
Visual Studio Access Reports - Crystal
Hiya guys, This is probably going to sound like a stupid question, but I have got an access database that I created, with lots of reports already created. Im now using Visual Studio 2005 B2 (VB.NET) to re-create a front end to my dataset. ( Im a new user to VB.NET and its my first programming language so im a total noob) Im slowly grasping the ideas, and am making good progress with my front end... The thing I would like to know, is there anyway that I can "convert" my access reports into crystal that I can use Any advice/info would be greatly appreciated. Thanks in advance. Max see www.access2crystal.com . There is a tool ...Show All
