Topics
-
- 1 reply
- 1.4k views
Hi guys, I'm trying to run a parameterized crystal report in C# (Visual Studio 2005 Professional) getting values from 3 textbox controls (windows form): cbCliente is the textbox control for the client's name (string) DataIni is the textbox control for the initial date (DateTime) DataFin is the textbox control for the final date (DateTime) The code below runs just fine, but when I try to add the DataIni and DataFin parameters, it gives an error message: private void btnFatura_Click(object sender, EventArgs e) { string selectFormula = "Mid({qryALL1.Cliente}, 1) = \"" + cbCliente.Text + "\""; crystalReportViewer1.Sele…
Last reply by teixeira, -
- 4 replies
- 821 views
Hi Everybody Im fairly new to .net i am after some help with a function. I have put this code into a click procedure however what i want it to do is put it in a function or class so i can call it whenever i like. This is the code Dim Litem As New ListViewItem Dim totea As Integer Dim ctrl As Control Dim iCtrl, iChk, iTotalEA As Integer Dim bb() As BoxedBird For iCtrl = 0 To Panel1.Controls.Count - 1 ctrl = Panel1.Controls(iCtrl) If ctrl.GetType Is GetType(System.Windows.Forms.TextBox) Then ReDim Preserve bb(iCtrl) bb(iCtrl).SIZE = ((CType(ctrl, TextBox).Tag)) …
Last reply by georgepatotk, -
-
- Administrators
- Leaders
- *Experts*
- 9 replies
- 16.3k views
Is it possible to turn a string variable into a boolean variable e.g: dim simon as string = "true" simon.toboolean() Just an example. Thanks in advance Simon
Last reply by Nerseus, -
-
-
- Leaders
- 1 reply
- 916 views
Hello. I downloaded an open source project which was nice enough to include a vc++.net solution file. It compiled nicely into a .lib file. How do I go about using this library now from my VB.net application? Thank you, Spektre
Last reply by snarfblam, -
-
- 0 replies
- 950 views
In Visual Basic.NET is there a way I can add a date time picker as one of the options in a ContextMenu? Any help offered is greatly appreciated.
Last reply by lothos12345, -
- 1 reply
- 1.1k views
Is there a way to manipulate the text that appears in a button on a message box, to state what ever we want using Visual Basic.NET? Any help offered is greatly appreciated.
Last reply by Nate Bross, -
My web application running on an intranet 99% of the time runs fine, however, on rare occasions the system will not start and requires a total IIS restart. Has anyone ever heard of or experienced this problem and is it fixable? All settings on the IIS are correctly set to the applications requirements, below is a copy of the error: Server Error in '/DgsProcessOrder' Application. -------------------------------------------------------------------------------- Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information ab…
Last reply by Mister E, -
- 1 reply
- 1.2k views
Does anyone have any tips for web applications that are 24/7/365 left on and running? Anything to watch out for, Any relevant web sites!?! Much thanks,
Last reply by Mister E, -
- 4 replies
- 10.6k views
i have data listed in a tree, but got to thinking, it would be better in a combobox. What got me thinking about this was a post here: http://www.xtremedotnettalk.com/showthread.php?t=95541 and: http://www.xtremedotnettalk.com/showpost.php?p=414245&postcount=10 from: http://www.xtremedotnettalk.com/showthread.php?t=84983 And I looked around quite a bit, there's a ton of posts on here similar to this, but guess I'm messing up some mundane detail. "Mundane detail?!?" Anyway, I'll save you the life story. I've attached a txt file showing what I'm trying to do. The interesting thing is that no matter how I do it, .SelectedValue = Nothing, .SelectedText = "", but …
Last reply by alreadyused, -
- 2 replies
- 4.7k views
Should be easy but I'm spinning my wheels. Any help?
Last reply by bjwade62, -
- 1 reply
- 740 views
Using a visual basic project for some reason no matter what I do when I veiw my report in a crystal viewer it is using legal size paper as opposed to Letter and I am not sure why. Any help offered is greatly appreciated.
Last reply by lothos12345, -
-
- Administrators
- 4 replies
- 1k views
Hi, all. I'm looking for a softwear engineering tool helping us with: Project list management To do list management with priority, current working person, checkin / check out, Bug tracking, database, releted to todolist, Test matrix, test cases.. etc. It would be general tool for? team based softwear development. Could you guys suggest any tools for this purpose
Last reply by tfowler, -
-
- 1 reply
- 2.2k views
Hello everyone, Here's the scenario: I have three windows forms (frmMain, frmClients, frmOrders). There's a button on frmClients that opens frmOrders. Now, the question is: What's the code on frmClients to define that the frmOrders' MDIParent is frmMain? Thank you very much for your time and help, JC Carmo.
Last reply by pcaddict, -
- 4 replies
- 1k views
Has anybody programmed .NET for this environment? If so, what emulator did you use? The ones which tie in with VS-2003 always have a problem whilst deploying the program to the emulator. These are the newer ones, and I cant seem to be able to upload files directly to them. I've found an older CE emulator which allows you to specify a directory and this directory is viewed by the emulator as a storage device (ie: card). I can run programmes on this older one no problem and they work. But when i try to access a database it throws up an error saying it cant support this version of the framework. Is this because the compact framework doesnt support it AT ALL, or t…
Last reply by Jay1b, -
- 3 replies
- 789 views
All, I want to know that is there a way to determine if a ciphertext is encrypted with TDES or RC2? Thanks, Carl
Last reply by Mister E, -
- 3 replies
- 920 views
I have a little function that just checks to see whether a database field is a date or null and I wanted to be able to make it accessible from all the forms on the site it is attached to - so I did this: Public Class ShortDateClass Public Function showShortDate(ByVal aDate As Object) If Not IsDBNull(aDate) Then Return aDate.ToShortDateString End If End Function End Class My question is this: how do I access this function from within a datagrid, for example? This is the code I used but it doesn't work: <asp:TemplateColumn HeaderText="Sched Complete Date"> <ItemTemplate> <asp:Label ID="lblSchedCompDate" Runat="server" text='<%#Short…
Last reply by Mister E, -
-
- Administrators
- 7 replies
- 1.5k views
ellow, I have got a problem with installing my program on a users PC, when you are logged in as administrator there is no problem but when you don't have admin rights the following error occurs when running the program... it's only when I click on my update form. In that form I have a datagrid using the dll of rustemsoft... I tried to higher the trust of this dll and I gave it full trust but that didn't help. I don't know how to solve it in an other way? any sugestions?? thx koen > The application attempted to perform an operation not allowed by the > security policy. The operation requuired the securityException. > > ************** Excep…
Last reply by maritzayanet, -
-
- 0 replies
- 1.1k views
Does anyone know if it's possible to pass the password for a password-secured MS Access db through the connect string or through code? I have a vb.net windows app that had a working crystal report that connected to the ms access db. I had to password-secure the database and now the crystal reports can't get to the database. I keep getting a login screen (which I do not want to appear), but even if I enter the password in the logon screen, the login fails every time. Thanks for any assistance.
Last reply by stewarts, -
- 0 replies
- 964 views
I need to find away to detect when the scroll event of a Windows datagrid (vs 2003) has been completed. That is when the user has finished scrolling. Currently the scroll event is for each line. Thanks.
Last reply by Bodybag, -
- 16 replies
- 1.8k views
I am trying to write a windows tool that retrieves images from a SQL Server database. The images are in an image field in SQL. The issue I'm having is that the success of getting one of these images out and displaying it seems to be based on how that image got in the db in the first place. I have code that stores the image using .NET. I then pull those out using this cc = new SqlConnection(connString); com = new SqlCommand(cmd,cc); cc.Open(); byte[] b = (byte [])com.ExecuteScalar(); MemoryStream mem = new MemoryStream(b); pictureBox1.Image = Image.FromStream(mem); and that works. But a majority of my user base is using Access to load images into this blob fiel…
Last reply by VBAHole22,
-
Who's Online 0 Members, 0 Anonymous, 47 Guests (See full list)
- There are no registered users currently online