KlausHolster's Q&A profile
Visual Basic Need Help In crystalreports
I am using crystalreportviewer to show the crystal report and i am having one button at the form and for the click event of the form i am exporting this report as a pdf file. While exporting it is throwing a exception (Report.Export()) "Error in File C:\DOCUME~1\ADMINI~1.DEV\LOCALS~1\Temp\temp_9ee9495f-2895-4065-a9cd-18800698ea7c.rpt: Error in formula ...." but in the crystal reportviewer i m getting the report clearly. Please send me a good solution... Thankyou Sabari. does the crystal report viewr not have its own pdf export button Seems to work fine for me. Can you open the rpt up in Crystal ...Show All
Visual Studio Express Editions Help Suggestion
Someone mentioned that they hope VB Express is easy enough for their mother to use one day. In which case, can I make a suggestion Searches for help on things like: "mouse pointer" busy set how to set mouse pointer cursor busy hour glass Should bring things other than pointer types, class diagram specifics and specifying a character set. I still haven't figured this out yet. I can't ask such a stupid question on this forum, but I will have to resort to Google shortly. Hi, Well, to make a suggestion to microsoft. You should post a suggestion on the Product Feedback Center . On your second inquiry, chang ...Show All
Visual Studio Express Editions invalid object
I am trying to write to a database table using native configuration. I have already checked my connection string, I believe I am connecting. However, I get the "table3 is invalid object " error. I checked the spelling and case of my objects. These objects exist. Why do I get this error ok, here's the relevant code: SqlConnection conn = new SqlConnection("Data Source=norby11\\SQLEXPRESS;Integrated Security=SSPI;Connect Timeout=30;User Instance=True"); string ndeText=numberNode.Text; string insertString = @"INSERT INTO table3(nodenames2) VALUES(ndeText)"; SqlCommand cmd = new Sq ...Show All
Visual C# Covert String or Object to Hex
Hello Everyone, I have something like this .... object var = property.Value; I want to change var to hex, how can I do it.... In C or C++ we use to do something printf("%x, var)....does the trick.... I'm sure will be really simple, I'm not doing something correct..... Thanks, Harsimrat In C#, it's string.Format, and items to format are specified as {0}, {1}, etc. There are also format specifiers, including ones for hex. http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconformattingtypes.asp ...Show All
Visual Basic how to create a new txt file at midnight each day and write to it
Hello I was wondering if somebody could help me with creating a new txt file each day at midnight with the name in the format of ddmmyy_hhmmss.txt also how to add text to it, well maybe i can do this i think, but maybe it would help confirm this bit. ikind of have the following so far, not much i know, thank you all in advance Private Sub OpenFile() ' filename = "C:\CRAPS\txt_files\" & Format(Now, "_MMMddyy_HHmmss") & ".txt" end Sub Here's how to append to a file. Dim inputString As String = "This is a test string." My.Computer.F ...Show All
Visual Studio Express Editions Locking down the toolbars??
Hi everyone I'm enjoying the product so far, however I have one little quirk I'm trying to fix. Currently, whenever I click on a file in the Solution Explorer, I lose the "Text Editor" toolbar. Then when I click on a .h/.cpp file I want to edit, I get the toolbar back again (which re-adjusts the toolbars, forcing the editing pane to lower a bit) So what ends up happening is that the UI workspace is constantly growing and shrinking as I'm adding new files to the project then editing them. It's mega annoying and I want to find a way to *permanently* leave the Text Editor toolbar enabled. thanks! ...Show All
Visual C# Create thumbnail
hi there im new in this forum.... sup... well i have a problem creating a thumbnail to my C# windows application.... heres the problem: i got this code from msdn: Image image = new Bitmap("C:\\Dibujo3.bmp"); Image pThumbnail = image.GetThumbnailImage(50, 50, null, new IntPtr()); e.Graphics.DrawImage(pThumbnail,50,50,pThumbnail.Width,pThumbnail.Height); i think i alllready have the thumbnail there but how can i show it on a pictureBox i alos tried this: Image image = new Bitmap("C:\\Dibujo3.bmp"); Image pThumbnail = image.GetThumbnailImage(50, 50, null, new IntPtr()); e.Graphics.DrawImage(pThumbnail,50,50, pThumbn ...Show All
Visual Basic Relase the Fix for Visual Basic Compiler Error &H8013141e&
Hi all i just want to know when is going to be released the fix for visual basic compiler error &H8013141e& this is already reported in the microsoft productfeedback site. i think this is a very urgent patch that must be released asap and please do not repond that i should go back to vs.2003 because i have lots of code developed in VS 2005 to framework 2.0 .. JSB PS: this error pisses me of, i need to restart VS.IDE every 5 minutes. i think this is too bad for a recent relesase product ( its full of Bugs ). Hi, João, This is a good opportunity (in the ...Show All
Windows Forms standard countries & cities in comboboxes
Hi, I want to incorporate standard city and country comboboxes. i.e. the first combobox displays the standard countries and the second combobox displays the standard cities corresponse to the contries the user first selected. I've search the forums but only found those binding with database. 1. Is there any class for standard countries and cities 2. How to match the cities with a country Thanks in advance ps. I'm using C# Try the world atlas: http://www.worldatlas.com/ Or get a list of countries in GMT website: http://wwp.greenwichmeantime.com/ If you' ...Show All
Visual C++ How do I set an initial dock bar state?
I have a MFC application that uses docking control bars. It looks great once you postion all the bars and use the SaveBarState() and LoadBarState() functions. However, when the app is first run on a PC (or if I manually delete the saved registry info), the bars come up docked in undesired positions. My question is thus; Is there a way to control the default control bar docking such that I can program in a reasonable default state that can then be overriden by loading the last saved state from the configuration using LoadBarState() What is the proper way to do this Thanks! You could look at the sour ...Show All
Visual Basic Start page MRU Project List not shows
Hi all, i have installed Visual Studio 2005, and in the start page it should show the recent open projects. but mine does not show is there any solution for this thks JSB Is it showing anything Try Tools -> Options -> Environment Tab -> Startup You have a number of options Show Start Page Open Home Page Show Empty Environment Show Last Loaded Solution Show Open Project Dialog Show New Project Dialog ...Show All
.NET Development client-side/server side cursor
I'm using VS.NET 2005 (July CTP) to develop a windows application that connects to a SQL Server database. How can I set my connection to use server-side cursors instead of client-side I'm going to have some large result sets and I'm afraid some client machines will not have adequate disk space. .Net Data Provider for Sql Server (SqlClient) version 2.0 does not support server-side cursor. There is no connection string attribute to enable this. If you have certain large BLOB columns, then you can use ExecuteReader with the CommandBehavior.SequentialAccess option. The values wi ...Show All
Visual C# panel background image in particular location
Hallo guys i need to set my background image in panel in a particular location but i ididnt found any properties to set the background image in particular location,in the visual disgner(Visual c#) there is a option to set the background image using BackGroundImageLayout with options center,none,Stretch,Zoom. but no way to set the background image in a particular position like right-bottom of the panel . another query : How to make a panel transparent. You can't set the image in the panel to be in a particular location. If you want to do this, you can drag a picturebox control onto your panel and layout the ...Show All
Visual Studio Express Editions Mscomm, Serial ports and bit manipulation
I have just started to investigate the replacement of some seriously old kit with a Windows XP version. I need to read and write data between either a usb/serial port on a new Windows XP machine and connect it to an old controller via an rs-232 cable. Data is passed between the two in Ascii format and can be as little as one character at a time or up to several hundred characters at a time. I will need to be able to interpret some of the data down to the bit level on receipt. Having read some of the threads here, it would appear the use of MSCOMM is a viable solution for the serial port communication as the transmissions are in a set ...Show All
Smart Device Development CArchive
Is that true that CArchive is not support under MFC 8 It's supported. After Beta2, we decided to take it back per customer requests and also because that the size of the MFC dlls was no longer the biggest concern on devices. ...Show All
