ackthpffth's Q&A profile
SQL Server Always get one more blank page after group footer?
hi, I have a report, basically, it has a table, and a group, and I checked the "Page break " at end in the group properties window. But when I run the report, between two group, there always is one more blank page there which is not what I want. If I clear that checkbox, the second data group did not change to a new page. So, I guess I should check the checkbox, but how to remove the blank page Thanks. Hi, You're right with checking the Checkbox, but make sure that your width of the page is not more than the standart page-width, which is 17.5. I tried hard before i found it out ;- ...Show All
Visual C++ Warning C4430 not being thrown in friend declaration
class myClass ; class otherClass { public : otherClass ( int x ): valor ( x ) {} inline int sum ( myClass & obj ); private : int valor ; }; class myClass { public : myClass ( int x ): val ( x ) {} friend otherClass :: sum ( myClass &); private : int val ; }; inline int otherClass :: sum ( myClass & obj ) { return obj . val + valor ; } The above is a minimalist example to illustrate the problem at hand. Note how the friend declaration is not defining the return type of otherClass::sum() and yet Warning C4430 is ...Show All
Visual Basic Insert from Form with textbox for details
Hello, I want to insert data from a form with textboxes for entry of the information. I have a dataset,bindingsource and table adapter on the form and the text boxes are bound. So far I have managed to do a "manual" insert using the following code Me .HospitalTableAdapter.Insert( "1" , Me .NameTextBox.Text, Me .Address1TextBox.Text, Me .Address2TextBox.Text, Me .Address3TextBox.Text, Me .CountyTextBox.Text, Me .CountryTextBox.Text, Me .TelTextBox.Text, Me .FaxTextBox.Text, Me .EmailTextBox.Text, Me .WebTextBox.Text) When an insert button is clicked, is there an easier way to carry out an insert witho ...Show All
Windows Forms VS 2005 CheckBox bound to SQL Server 2000
Using VS 2005 beta 2. I did a drag and drop of a data source table that points to an existing SQL Server 2000 table. I want to use a chekbox with a few fields. They are defined as smallint and have nulls, 0, and 1 in the exisitng data. The chekboxs show up OK on the form in IDE but at runtime they do not track the data values. If I add a teckbox instead the data displays OK. When I click on any of the checkboxs in run mode the program hangs. I need to switch to the IDE to stop the program. 1) Is this a know bug 2) Or am I trying something that can't be done I haven't been able to find any docs stating the requirements for the data u ...Show All
Visual Studio OOPS What do you do if you uninstall incorrectly?
Uninstall guidelines state "If you decide to uninstall manually, without using the tool, be sure you uninstall ALL Visual Studio 2005 product editions BEFORE you uninstall the .NET Framework 2.0. " , I of course didn't see that little note, and messed up. Any suggestions on how to make my PC look like I didn't screw up Thanks... -Ken Hi all, I seem to have done the same here, tried moving some files from one hard drive to another, and now when i try to install a program from disk drive i get the '2908 internal error' code. How do I repair this ...Show All
Smart Device Development VS 2005 beta2 - Referenced package not found
I have just installed VS 2005 beta2. I created a smartphone application with a simple textbox and when I try to run (F5) using emulator I get a deploy error. The output log shows: SMP1 -> C:\dev\SMP1\SMP1\bin\Debug\SMP1.exe ------ Deploy started: Project: SMP1, Configuration: Debug Any CPU ------ Referenced package not found. ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ========== ========== Deploy: 0 succeeded, 1 failed, 0 skipped ========== Any ideas Hi, try to rename directory C:\Documents and Settings\<user name>\Local Settings\Application Dat ...Show All
Visual Basic Help me with Sockets "Please" Urgent!!!
Please, in this link has an example of the code that use in vb6 to find the IP of the server in the network, in this code the server sends for all on network its address of IP and the Clients use to connect in the server, but does not obtain to convert this for NET... can help me http://www.brazilconnections.com.br/support/teste.zip please help me! thanks! Thanks David, but one problem with sample.... my code... Server UDP Code! (Console Application) Its don't Work! On the side of Server return this error! "An attempt of access to a socket in a way was made that is forbidden by the access permissions" ...Show All
Visual Studio Express Editions Backgroundworker problem
Hi, I'm new to c# language. I'm trying to make a simple app that reads an xml file and display it in a datagridview. I want to put the reading of the xml file proceses in a seperate thread. I build the simple app without the backgroundworker and it works like I expected. But when I use the backgroundworker component the well known error accurs. Cross thread issue. I thought I used the backgroundworker component in the good way. Here is my simple code. private void button1_Click_1( object sender, EventArgs e) { backgroundWorker1.RunWorkerAsync(); } private void backgroundWorker1_DoWork( object sender, D ...Show All
Visual Studio Tools for Office VSTO2005 Outlook
I have a VSTO2005 Outlook addin that creates a toolbar in Outlook at startup. The toolbar includes several buttons. I now want to create and make visible a different toolbar when users open or create a task, e-mail or appointment. Any help will be appreciated. John Thanks for helping me. So if I add a button to the Task commandbar while Outlook in initializing will it then show when the user do a new Task Thanks Ignus ...Show All
Visual C# compile fast, build _sloooow_
when i compile one of the projects in my solution, the 'compile' time is very short: the 'compile complete' message appears almost emmediately. (this is with the public beta of vs2005) however, afterwards, the ide will begin to do things on the hard drive for up to 2 minutes (each time !). after that, the 'build succeeded' message appears. what is it doing in this time what can i do against that this makes it almost impossible to work with the ide. WM_QUERY thomas woelfer http://www.die.de/blog Wow, thank you! that changed things a lot. the ide just went from 'barely useable' to 'fast'. WM ...Show All
Visual C++ Problem compiling
1>Compiling... 1>cl : Command line warning D4002 : ignoring unknown option '/errorReport:prompt' 1>X6Console.c 1>c:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(141) : warning C4616: #pragma warning : warning number '6059' out of range, must be between '4001' and '4999' 1>Linking... 1>LINK : fatal error LNK1181: cannot open input file 'yt/.obj' Simple win32 app with a WinMain returning 'TRUE' and I get these errors ( after turning off include unicode response files which removed another error ). Any ideas It looks to me as if you might be using an earlier version of the comp ...Show All
SQL Server Connecting to SQL 2005 from a client pc
I am getting this message. On the actual server I can pull up the report builder, but from a client on the network when trying to connect to the sql report builder I get this message: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : http://webdev.ci.lubbock.tx.us/reportserver$sql05/reportbuilder/reportbuilder.application ERROR SUMMARY Below is a summary of the errors, de ...Show All
.NET Development How can I run batch file and get output in code and command window from my Visual Basic .NET code
Hello, I have an batch file which needs to be executed from my VB.NET application. I have successfully done that using System.Diagnostics.Process class and openning command window from that.. But my requirement have changed a little bit.. Now i need StandardOutput and StandardError both to be returned after the execution in both command window and VB.NET Code.. I tried the same with process class.. But It allows either on command window or VB.NET code. Any ideas how to achieve this. Thanks in advance. Regards Amit Pandya ...Show All
Windows Forms How can I bind a toolbar to a form and unbind it to another form (like vs.net)
Hi If you look at the toolbars of VisualStudio.NET, you are able to drag the toolbar to any place in the main form, and you are able to unbind it from the main form, when the toolbar will create its own form, and of course you can bind it again to the main form. Is there are any code samples on the internet of how this is possi ...Show All
SQL Server Error in variable mapping in Execute SQL Task
Hi, I am getting an error message (mentioned below) in the variable mapping of Execute SQL Task in SSIS. " Error: ForEach Variable Mapping number 9 to variable "User::Value" cannot be applied. " " Error: The type of the value being assigned to variable "User::Value" differs from the current variable type. Variables may not change type during execution. Variable types are strict, except for variables of type Object. " Pls anyone have a look and give me a solution asap. Thanks & Regards, Prakash Srinivasan. What was the type of the variabl ...Show All
