Search:
Type: Posts; User: riechan
Search:
Search took 0.03 seconds.
-
I'm trying out other things at the moment, and correct me if I'm wrong, the value of the DateTimePicker doesn't get updated unless you remove focus from the DateTimePicker control? Could that be the...
-
Hi guys! Thanks so much for the input.
I checked the values of the DateTimePickers and tried changing one of them and upon checking, the supposedly changed value didn't change until I ran the...
-
For example I key in tomorrow's date in the dtpBirthdate control, I'm expecting to immediately get 1 as a result in the following code:
DateDiff(DateInterval.Day, Date.Now.Date,...
-
Hi guys,
Currently working on a project that requires me to duplicate the contents of a 2nd tab page (TabPage2) from a Form1. Looked up previous threads about it and found this:...
-
I'm not sure if this is the right thread but here goes. If I call on a SPROC from VB like so:
dbCmd = New SqlCommand("spNewPatient", dbConn, dbTran)
...
-
So I'm trying to follow this tutorial right here, downloaded CR 12 for VS and the runtime setup. I opened up VS Express, and couldn't find the Crystal Report template in the New Item dialog.
Been...
-
Is there a way to change the appearance of disabled controls? Specifically the DateTimePicker, ComboBox and RadioButton controls? The following code works nicely with text boxes:
CType(ctrl,...
-
Hi szlamany! I'm calling the SPROC from the front end. The SPROCs were made within SQL. Here's the code in question:
USE [dbMacondo]
GO
/****** Object: StoredProcedure [dbo].[spNewPatient] ...
-
I was getting syntax error on both @PXID int OUTPUT=0 and @PXID =0 int OUTPUT though.
Removed that, thank you! I was following along a tutorial, you see. So, below is the code in its entirety....
-
Getting a "Procedure or function spNewPatient expects parameter @PXID (Identity Field) which was not supplied." when I try to insert data using dynamic SP and transactions. However, @PXID is an...
-
Thank you for the detailed explanation. None of these were taught to us back in college 6 years ago so this is all new to me. Didn't really work in the industry and am trying to get back to this is a...
-
Thank you for the help. I tried your suggested code and sadly it only reiterated the Tab control. I made a couple more searches using the list method you mentioned and found a set of code here which...
-
Okay, so I tried it like this:
Public Sub CheckIndexes()
For Each ctrl As Control In PatientRecord.Controls
If TypeOf ctrl Is ComboBox Then
If...
-
I use this code to display errors in the form:
Public Sub CheckIndex(ByRef _Control As ComboBox)
If _Control.SelectedIndex = -1 Then
HighlightError(_Control,...
-
blnAbFHR = rdoT4AbFHR1.Checked
Yes, it's the second radio button for that set. I should omit that. So this basically gets the status of this rdoT4AbFHR1 (since it can only be True/False) right?...
-
So, I'm trying to develop an application on .NET 4.5. Just a quick question, in the following implementations, which are the most efficient (and flexible in terms of compatibility) implementation of...
-
Hi guys! So, I'm trying to write a program that gets the GCD of two numbers (I know, it's real easy, but I'm just doing this as a refresher), and I've finished writing the code, got it to compile and...
-
Guys, a little help here? I'm trying to make an application that has "button hover" effects, similar to the ones that you normally see in the web. This is how I coded mine:
Public Class...
-
Sorry. Already fixed the problem. Admin, please delete the thread as needed. Thread resolved.
-
Hi guys. Can anybody help me out here? I keep getting the above error when trying to open a recordset like so:
Set connExcel = CreateObject("ADODB.Connection")
connExcel.Open...
-
Hi guys. I was wondering how we could solve these two problems that occurred when we tried to deploy our VB.net applications (using Advanced Installer 7). By the way, we tried to install the...
-
This only happens when we run the application after it has been deployed (installed). It's running just fine when we run it using VS, that's why I don't know which code to place here.
-
Is it because I used Application.Exit in the form_closing event? Seriously, I'm not getting any error messages even if I'm using try-catch. Weird.
-
That's rather weird. I know I have placed Try-Catch statements on all the events that I've used, except for the form_closing ones. Should I try using a general exception handler or is there a...
-
Modifying a collection within a For Each loop? But, as far as I know, I didn't even use a for each loop in my application. How is this possible?
-
Does this have something to do with how we close forms? We closed some of the forms in our application using the .Dispose method.
-
Hi guys. Our application got this exception after it was closed... I was wondering how we can solve this...
-
Hi guys. We're thinking of deploying our application with the use of InstallShield Wizard 10. I was wondering if it's possible to attach a SQL database automatically using InstallScript? Can anyone...
-
Thing is, it says here, that SELECT statements that assigns values cannot be combined with data retrieval SELECT statements. Any ideas?
-
Question. Why is it that this code:
SELECT @AuthorNames = IsNull(@AuthorNames + ', ','') + [AuthorName] FROM Book
INNER JOIN AuthorDetails ON Book.BookID = AuthorDetails.BookID
INNER JOIN...
-
@Mazz: Thank you very much! I got the code up and running! The only problem now is to get it the AuthorIDs of the Author's in the @AuthorNames. Any ideas?
By the way, here's the code that I used,...
-
@leinad31: I'm thinking that this is like the example that Mazz1 cited. And that it needs to be done on the front-end as well, not just on the back-end, am I right? I'm going to test the code that...
-
-
Hi guys. I'm sort of having some problem with the way our database's structure is supposed to be like. This concerns books and authors.
Taking the following notes into consideration:
- There can...
-
Thanks for the help guys. Here's what I did, using jumer's code as reference:
Dim CopyQty As String
CopyQty = ""
Do While Val(CopyQty) < 1
...
-
Okay. So how do I include the said file with our application when we try to deploy it (into a setup file)?
-
Hi guys. Can anyone help me on this matter? We always get this error whenever we try to run the form that has the Crystal Reports viewer on the unit to which we deployed our application. Attached is...
-
Hi guys. Is it possible for you to loop a block of code until the user provides a valid input? Like, when I click the save button, the program will prompt the user for an integer value, and I would...
-
-
How do you change the image of a status label if the image you want to call is from the Resources?
Edited:
Sorry. I posted in the wrong section of the forum. Kindly move this to the Visual Basic...
|
Click Here to Expand Forum to Full Width
|