pu's Q&A profile
SQL Server Alternative Solution- Query not getting executed
Hi I’m facing this very unusual problem. Let me first give a background – This is a system consisting of Distribuors, Dealers and Brands. I have few tables as mentioned below (these are just prototypes of the actual table): ‘REL’ table: This stores the Distributors and Dealers relationship. E.g. say DISTRIBUTOR   ...Show All
Windows Forms Radio button custom control
I need to build a custom control that contains 3 radion buttons within a group panel. This control will be used on forms, and will need to populate another control with the results based on which radio button has been selected. Eg. All items, available items, unavailable items. I have not created a custom control before, so any assistance will be appreciated. I am using C# with Visual Studio 2005. Hi, start ...Show All
Visual Studio 2008 (Pre-release) SomeOtherLINQ
Hello everybody, I am wondering if it will be made possible to develop other version of LINQ, using data sources other than SQL or XML. I mean, are there any plans for making appropriate APIs public Tom Jastrzebski This is absolutely possible Tom. As a matter of fact XLinq and DLinq are just using the extension mechanisms made available by the LINQ technology. Take XLinq for example. There are ...Show All
Windows Forms designer can't load form. Where is 'more information'?
after going from beta2 to rc1, the designer all of a sudden cannot load my forms anymore. instead, i get the infamous window with the red top that says some errors may go away building the project, while other need code changes. needles to say: the file compiles fine, the form could be opened with the beta2 and vs2003 designers and obviously doing a rebuild doesn't help at all. now what the additional error message says; Unable to load one or m ...Show All
Visual C++ Addition Operator Overloading Problem
Hi folks, I'm writing a Windows Forms app in Managed C++ for MS Visual C++ 2003. I wanted to overload the Addition operator for the System::String class so that I could Concat Strings with '+'. However, when I added the following code: static String* op_Addition(String* strStringA, String* strStringB) { String* strResult; strResult = String::Concat(strStringA, strStringB); return strResult; } ....... Form1(void) { InitializeCo ...Show All
.NET Development VS.NET 2005 - MySQL - ODBC problems
I'm having a problem getting Visual Studio .NET to work with a MySQL server. The versions of software I'm using are: VS.NET 2005, MySQL Server 5.0.16, MySQL Connector/ODBC 3.51.12 The MySQL server is configured ok and is accesible from everywhere (even inside VS) In VS, I can create a connection to my database (`test`) in the Server Explorer, the tables are visible, and the data is retrieved and updated ok. The problem arise when I ...Show All
Visual Studio Express Editions Random Assortment
How do you randomly assort a string of values This is to virtually "shuffle" cards. String access using [int index] is read-only, you probably want to copy your string to a char array, then return a new string, passing the scrambled char[] in the constructor. ...Show All
SQL Server Parallel SQL Destination Load Pre-Process error
I cannot find any information on this error. It occurs on packages that are writing to the same table using a sql server destination. I suppose it would be a good exercise in error handling, but I'd rather avoid it. Error: Unable to prepare the SSIS bulk insert for data insertion. Error: component "FACT_BillingLineItem Destination" (22652) failed the pre-execute phase and returned error code 0xC0202071. The caus ...Show All
Visual Studio Express Editions Help with databases
Hi I have a database with about 20 columns one of which is vehicleNumber and one of which is temperature. I have many different vehicleNumbers. When the user types a vehicleNumber into a text box I need to collect all the temperatures for that vehicle and find the average temperature. I am not using SQL, I'm using an access database with the dataset and all that. I found a little information suggesting a dataview. Can anyone help me Just t ...Show All
SQL Server How to see the actual data in a write enabled cube
I have a write enabled cube I have modified a cell value from 50 to 100 When i am browsing the cube i am seeing 100.Thats fine I came to know that writing back will not touch the cube at all. Then i like to see the actual data ie 50 from the cube. what shall i do for this Kindly advise Hi Arobind, If you have not commited your changes in the session, you should be able to see the old values fr ...Show All
Windows Forms HasChanges() question
I am using the HasChanges method to check if a user has made changes to the form data. I am using a binding source and tables adapters. I load data into the form from a lookup form by using tableadpater.fill. When I close the form I use HasChanges to check if the record has been edited. the problem is it is always returning true, whether I make changes or not. I cannot seem to get this to work properly. I have tried calling endedit and acceptcha ...Show All
Smart Device Development Uninstall_Init() and Uninstall_Exit()
can some one teach me how to use Uninstall_Init() and Uninstall_Exit() in .net compact framwork. My system will save some data into ppc registry, i want to delete those data when user uninstall my system. Can someone teach me how to do that You can not, setup DLL needs to be native. You can delete registry entries without setup DLL though. To do so add these registry entries to your CAB (e.g. with default va ...Show All
Visual C++ calling Activex methods from a static function--Dialog-based application
i am using an Activex control in a dialog based applicaton(VC++). i created an member variable for that(myportcontroller). In an non-static function i am able to call the Activex control methods using the member variable and worked fine. But i need to call the activex control methods in an static function. Here i cannot use the member variable as it is a static function. So, i declared an object for Activex control class. Using that object i cal ...Show All
Visual C++ LINK : warning LNK4075: neglect“/EDITANDCONTINUE”(由于“/INCREMENTAL:NO”)
LINK : warning LNK4075: neglect “/EDITANDCONTINUE”( “/INCREMENTAL:NO” ) what does that mean I'm a freasher to use Vs2003.net anyone help I just use the enviroment to develop ANSI C In order to benefit from the Edit-And-Continue feature of Visual C++, you need to enable the Incremental linking (Project Properties->Linker->General->Enable Incremental Linking = Yes). Most people see this ...Show All
Windows Forms How to check for updates programmatically
I have a small ClickOnce application that runs (hidden) at user startup. It's used to update virus definitions. When using it on a laptop with a wireless network connection, the program isn't able to check for program updates because it takes a while until the network connection is established. It's no problem to get my virus definitions, because there's a built in delay for that. Is it possible to check for a new publish version (on a ...Show All
