Topics
-
-
- *Experts*
- 1 reply
- 1.1k views
i have a small single user app. it gathers data and stores it in an access database. it doesnt need to be sql server , just in case anyone gives out to me. i have to create a couple of basic printouts on the data collected. what is the best solution for this? have not yet used crystal reports, and wonder if its worth me learning to use crystal, as i have to have this app finished soon , and it only has to be a basic report. any suggestions?
Last reply by Nerseus, -
-
- 2 replies
- 7.6k views
Okay - my program has a Datagrid that display the data the user was looking for - I need to give him a way to PRINT this data. So I went looking around and found the "PrintDialog" thing in C#, I added one to my form (GUI, not in-code) - now the problem is I have no clue how to use it and I can't find much meaningful documentation - so I thought I would ask. My goal - to allow the user to Print the contents of the Datagrid, either from the Datagrid itself OR from the corresponding DataSource (DataSet). Or if anyone can propose a better/nicer/more efficient way of doing things. Any help/hints would be appreciated. Thanks,
Last reply by DimkaNewtown, -
- 1 reply
- 798 views
Ok how can I fill out a data grid view from an event? Upon receiving a serialized object across the network I raise an event and pass the deserialized object. The event handler is on a form with a data grid view control If I try to add a row (based on the data in the object) to this control or add a row to a table in the dataset that the control is bound to it just crashes with no errors (It screws the screen up graphically and then freezes the whole app I can�t even catch this in a try catch statement) I think it�s because I am trying to call the add row method asynchronously? (since the method that raises the event is called from a method that is reading fro…
Last reply by CyberDuke, -
- 0 replies
- 1.3k views
Hi all! I recently bought VB.NET and have been porting existing projects to use .NET. I have quite a lot of DirectX 7&8 applications written using legacy VB that I am trying to port to .NET but seem to have little success. The critical question is this: Can I actually still use DirectX 7&8 with VB.NET? --Hoplite
Last reply by Hoplite, -
-
- Leaders
- *Experts*
- 9 replies
- 2.4k views
it's been a while since i coded a windows form project. i vaugely remember a parameter in before the application loaded that enhanced the form to look more modern. any ideas?
Last reply by mskeel, -
-
-
- Administrators
- Leaders
- 14 replies
- 2.2k views
Anyone going to the "Ready Launch Tour"? Supposedly you get given Visual Studio 2005 for free. It sounds too good to be true. Is it the full version?
Last reply by PlausiblyDamp, -
-
- 0 replies
- 794 views
I get this error, the update was automatically done this morning, how can I see the last updates or remove them: The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed. -------------------------------------------------------------------------------- Please try the following: Open the zuser.zurichna.com home page, and then look for links to the information you want. Click the Refresh button, or try again later. Click Search to look for information on the Internet. You can also see a list of related sites. HTTP 500 - Internal server error Internet Explorer
Last reply by macupryk, -
-
- Leaders
- 4 replies
- 7.5k views
I need to insert a bitmap image into an excel (2000) spreadsheet. I've been able to insert the picture into the shapes collection but can't figure out how to get it into a cell on the spreadsheet. I've extensively searched the web for examples and haven't had much luck...does anyone have experience with this? Any help would be much appreciated!
Last reply by arr, -
-
-
- Leaders
- 7 replies
- 3.1k views
When you load values into the ComboBox (I have it set to dropdown combolistbox) the control loads with a -1 (blank) value. It seems extremely easy to inherit this control and add a property called "Default Index" which attempts to select that index after loading the items collection. Is there a property somewere I'm missing? This seems so basic of a need that I can't see MS going through 3 iterations of VS (i'm working with 2005 now) and still not addressing this. If not, I'll have to custom control it. Thanks :)
Last reply by Denaes, -
-
-
- Administrators
- *Experts*
- 6 replies
- 796 views
ok, when i installed VS 2006 i expected my pc to be very slow when using it. my pc is a bit slower, but not too bad. the problem is on windows load up. before anyone logs on , before the logon screen, there is a screen that says " windows is starting up". since i installed VS 2006 my computer gets stuck on this screen for about 5 minutes each time i turn on the pc. it is really annoying. has anyone seen this and how is it treated?
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 1 reply
- 26.5k views
Simple enough question - how do I set and get the VERSION of my application? So that I see it when I right-click on my file->properties->version. Unless I am blind - in the good old days it was simply in the Project->Properties->Version and we could set the Major and Minor Version, I assume C# has something similar and hopefully more sofisticated? At the same time I need a way to GET that version in-code Any help/hints would be appreciated, thanks
Last reply by PlausiblyDamp, -
-
- 3 replies
- 1.5k views
I have a stored procedure on MySQL Server that goes something like: Select * from phones where idphone=param1; in vb 2005 the code is: Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click dim strLink as string ="3" sds.SelectCommand = "SrcModel" 'sds is a SQLDataSource sds.SelectCommandType = SqlDataSourceCommandType.StoredProcedure Dim param1 As New FormParameter("param1", TypeCode.String, strLink) param1.Direction = Data.ParameterDirection.Input sds.SelectParameters.Add(param1) GridView1.DataSource = sds GridView1.DataBind() End Sub the …
Last reply by Puiu, -
- 0 replies
- 1.5k views
Anyone know of a free way to enable SFTP for my vb.net app? thanks!
Last reply by trend, -
- 0 replies
- 849 views
Dear All, I have a series of checkboxes as follows:- aspx:- <asp:CheckBoxList id="cblPrint" runat="server" Width="376px" RepeatLayout="Flow"></asp:CheckBoxList> code behind:- CType(r.FindControl("cblPrint"), CheckBoxList).DataSource = dsMo.stpSelectAllPrint.DefaultView CType(r.FindControl("cblPrint"), CheckBoxList).DataTextField = "mo_description" CType(r.FindControl("cblPrint"), CheckBoxList).DataValueField = "mo_id" CType(r.FindControl("cblPrint"), CheckBoxList).DataBind() Now i wish to attach a textbox dynamically to all these checkboxes. How can I do that? Thanks for your …
Last reply by monfu, -
-
- Administrators
- 2 replies
- 865 views
Dear All, I have this piece of code:- CType(r.FindControl("calDate"), Calendar).SelectedDate = DateTime.Parse(CType(r.FindControl("txtEvDate"), TextBox).Text()) And its giving me an error:- String was not recognized as a valid DateTime How can I solve this? Thanks for your help and time Johann
Last reply by monfu, -
-
- 1 reply
- 859 views
i have to design a form to take in a lot of data. rather than have a huge form with a scroll bar and tons of text boxes, i was thinking of two better options: 1) use a tab control and spread the information gathering controls out over a number of tabs 2) have a next button on the bottom of each form and have the controls spread over a number of forms. i think idea 2 is more user friendly, but if anyone has any better ideas it would be great. thanks all
Last reply by Cags, -
-
- Administrators
- 6 replies
- 1k views
Ok guys this is really stupid, and my mind just stuck now (after about 19 hours of straight coding) Why on earth do i have to click two times the button to write/load the session variable??? and how can i solve it the following is a simple example of what i mean, the actual code is quite long :) Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If IsPostBack Then TextBox1.Text = Session("Test") End If End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Session("Test") = TextBox2.Text End Sub I wr…
Last reply by otherside, -
-
-
- Administrators
- 6 replies
- 900 views
I have a dropdownlist. I want to read the data from database and populate it. I know I can do it in the code behind by populating a dataset..as explained in this link: http://www.experts-exchange.com/Web/Q_21489607.html But I like to create a class, in my code-behind call that Class and populate the ddl.. I know how to create the class, but what should be passed to it from my code-behind, what should the "return" value of the function be? If someone could give me an outline/class shell..that would be good too. Thanks
Last reply by eramgarden, -
-
- 0 replies
- 672 views
I would like to programatically set group permissions. For example, I would like: c:\dev to be read/executable by group: users So far I found I should probably be using: Microsoft.Win32.Security, but I can not find any code examples. I'll post a solution when I found one, but in the mean time, any insight would be greatly appreciated. Thanks.
Last reply by sde, -
Share
by lothos12345- 0 replies
- 1.6k views
In visual basic.NET how do you share a directory?
Last reply by lothos12345,
-
Who's Online 0 Members, 0 Anonymous, 51 Guests (See full list)
- There are no registered users currently online