Search:
Type: Posts; User: rakker
Search:
Search took 0.04 seconds.
-
Thank you for the reply. Based on your reply i think the best solution is using the "isnull" like below.
This works so i will just use it
FindText = "[Pd1xxx]"
if...
-
You are correct it is bound to a table.
The textbox is filled by someone and saved to a database. Opening the form loads the data from the database and empty field are just empty in the textbox....
-
Dim Replace with as String
I solved it bij doing the following, but i don't feel it is the best and cleanest way.
FindText = "[Pd1xxx]"
if (isnull(Me.c169_Pd_value)) then
...
-
Yes, i did that. The problem is the same the system drops out on the fact the the field is empty in the textbox.
If i fill out the textbox with just 1 character it continues as required, but...
-
I have an access datase where i generate a word file based on information on the form in access.
I use this code to find and replace text which works fine.
FindText = "[Pd1xxx]"
...
-
Hi, thank you for the reply. I don't think i'm contradicting myself, but i think i could perhaps have been more clear.
I mean with this that if i only print the PDF as i do now, i need to open...
-
Hi, is there someone that can halp on this problem.
I use Access, the program prints to PDF on buttonclick and this works without any issues. I now would like to know if it is possible to print to...
-
No, you could just have reacted normal without sounding condescending. I included this question in the first place so i thought to continue in the same topic, that i assumed wrong is on me, but I...
-
J*sus, man sorry for writing that, you dont need to react like that. I wrote both questions, som i'm not outside of my original question.
On topic thank you for pointing me in the right drection.
-
The following seems to work for me.
cmbBaseMat.DataSource = materialGroupDataSet.MatGroup.Select(x => x.BaseMs).Distinct().ToList();
now is the question how do i make 2 other comboboxes...
-
I am trying to remove duplcates from a combobox however this doesn't seem to result in a correct combobox, since he fill the combobox with the following text.
...
-
Thank you for the information. I actually knew that most Databases use SQL, but did not realise that it was wrong / unclear to formulate my question like i did. I want it to be accessble from several...
-
Hi, I use to work with a access database, but i would like to use a SQL database for my project. I have no experience with SQL and have som questions about this.
Checked mySQL, but the setup of...
-
Solved:
TextAnnotation CAT = new TextAnnotation();
CAT.Text = "Here is the value";
CAT.AnchorX = 50;
CAT.AnchorY = 30;
...
-
I would like to add some free text in a chart.
This free text is added on button click.
LineAnnotation CAT = new LineAnnotation();
CAT.Name = "Here is the value";
...
-
That solved the problem. I tried this before, but clearly not in the correct way.
-
Hi,
I used to program in VB sometimes, now i'm using C# due to flexibility of the language.
I want to know the following.
In VB i could use "Call" to call a specific procedure to be...
-
That worked great. Thank you for the help.:)
-
I already have the program, but now i am not using the log-log diagram only the values are visible. To make the program more user friendly i wanted to include the diagram so that the user can see the...
-
I have a log/log table.
153831
each textbox has value that i want to display in the table with a dot (see picture of the log-log table).
It is possible to indicate a dot on a picture in C# so it...
-
Hi,
I want to do the following, but have no idea how it is possible to do it.
I have a logarithmic table (EXCEL) that i want to embed in my program. In the program i have 2 textboxes that...
-
I have an access database. I have a bindingsource called "DrawingBindingSource" this bindingsource has several members (DisplayMembers).
What i want to do is combine the members in 1 combobox to...
-
I use VS 2015.
If i use
My.Computer.FileSystem.CopyDirectory("C:\Test", String.Format("C:\Test{0}", numberTextBox.Text, True))
the text changes to "Test-truenumberTextbox" so i changed it to the...
-
That was quick.
This works, but still makes a copy of the original directory and places it in an new directory.
My.Computer.FileSystem.CopyDirectory("C:\Test", String.Format("C:\Test+",...
-
Hi,
I want to copy and rename a directory in VB.net.
The copy sort of works, but renaming gives an error.
I have the following code under button click.
...
-
@Sitten Spynne: thank you for the clear explanation. I understand that if the program should be distributed that i need to have a digital certificate.
I will see if this is worth it.
...
-
Nothing special, it doesn't save anything on the computer. Based on the input it calculates a value that corresponds with a table and shows you this table and the result of your calculation.
I...
-
Hi,
I'm trying to install my program to my computer.
I get an error installing it.
"Windows found that this file is potentially harmful. To help protect your computer, Windows has blocked...
-
-
Got it to work.
double DoublePallow = 0000.0000;
double DoubleVolume = 0000.0000;
double DoublePxV = 0000.0000;
if (radioButtonPxV.Checked == true)
...
-
double DoublePallow = 0.0;
double DoubleVolume = 0.0;
double DoublePxV = 0.0;
string Pallow = TextBox.Text;
string PVolume = VolumeTextBox.Text;
...
-
The following happens.
On clicking the calculate button i get an error.
"An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll"
decimal PressureTextBox;
...
-
I understand, txtPTextbox indicates a Pressure whilst txtVTextBox indicates a volume.
if someone enters a value of < 1.5 bar (1,5 bar) the program needs to display a text if it is above this value...
-
Stupid me, should have known that.
However i now get a error on the values.
if (txtPTextBox < 1.5)
Operator '<' cannot be applied to operands of type 'decimal' and 'double'
This error...
-
I have 3 textboxes, 2 input boxes and a results box what i would like to do is to be able to add a value in the textboxes including a decimal point.
int txtPTextBox;
int...
-
I'm only returning TRUE values.
As far as i can see i have all the IF statements provided with a RETURN value.
Correct i placed the final return value at the wrong spot.
-
//tables
public string Moduleschecked() <----Error: not all code paths return a value
{
int txtPTextBox;
int txtVTextBox;
int...
-
I found the problem.
Changed the code to the following.
if (TableNRtextBox1.Text == "Table 1")
{
Image itable1 = Image.FromFile(@"Image\Table1.jpg");
...
-
HUH? no consistency problem here.
the textbox fills with a text "Table 1" or "Table 2" (TableNRtextbox1.text).
if the text is "Table 1" it results in filling the Picturebox with a picture...
-
I am looking for a text in the textbox called "table 1". when this text is found it needs to display a picture named "table1.jpg". Am i missing something here?
|
Click Here to Expand Forum to Full Width
|