-
- How to create self contained application?
by MLyons10
- 2 Replies
- Last post
by MLyons10
- I know that the .NET Framework is required to run C# Applications, but how do I compile an .exe file that would be self contained and would not require an installation There are a lot of programs like this out there, many of which are C# programs, so I know it can be done, but how do I do this I would like to be able to e-mail the .exe file and have the user be able to simply run the application
-
- how to save files
by I.HJ
- 12 Replies
- Last post
by I.HJ
- Hi!
I have tried this code (from Spotty) for saving and opening files and it works perfectly with my program but i need to add more TextBoxes, one ComboBox, one RichTextBox (text and picture from paint).
How can i solve the problem
I'am useing WinXP and VB Express
Grateful for answers.
I.HJ
Public Class Form1
Private Mod_strFilename As String = ""
P
-
- how to limit numeric textbox to two values
by xveruskax
- 9 Replies
- Last post
by xveruskax
- hello,
I have a textbox that is set to receive only numbers, the thing is I don't know how to limit the textbox value to only two values, "0" or "1". I tried the following code but if a wrong value of "2" is entered the ( "Please enter 0 or 1" ) message pops up and is immediately followed by ( "Thank you for your participation" ). only the 'plea
-
- Email Code Help...
by Natural_orange
- 4 Replies
- Last post
by Omar Abid
- Is there any chance the someone can post a function that will send email... i.e. public function sendmail(to as string, from as string, server as string, port as integer, subject as string, body as string) as boolean end function and have it return true if mail was sent and false if mail could not be sent. I've been trying for a couple of days to get something to work and for w/e reason i can't g
-
- MS Word - Book Marks
by nhaas
- 5 Replies
- Last post
by ReneeC
- I want to use a Word doc that I have allready created and insert a few words in. This is a work document that says that work is completed on such and such order number.
How do I grab a word doc and insert "123456" as the order number and then place this into a word doc at a bookmark
Thank you all
-
- Can I save AllLines of a textBox minus the first two?
by C#Newbie01
- 10 Replies
- Last post
by C#Newbie01
- This may be a really bizarre question, but I have a simple program that I would like to use to edit .txt files. The problem is, that I load all of the data into a textBox, then save the data from a dateTimePicker, a new line, and the data in the textBox. Well, the textBox will already contain the old date and a newline, so I end up with two dates and two newlines. Though this is easy to work aroun
-
- Disposing read data in DataReader
by guanzhao
- 9 Replies
- Last post
by guanzhao
- Hi Experts,
I'm having some issues with DataReader. Hope you guys can help me.
I have a set of data to be read in an excel file. Basically, I need to get the 1st row of data as an reference first. After reading the first row, I am required to read the 1st row AGAIN, this time to use the data itself. Here is a sample of my code:
//Start Code
OleDbConnection con = new Ol
-
- ntddk.h
by cadouthat
- 7 Replies
- Last post
by cadouthat
- ok, i found out that its in the ddk, i installed the ddk and added its lib path to the include directories...
now i
#inlcude<ntddk.h>
and everything includes fine, but it has like over a hundred errors...
here are a few of them
c:\winddk\3790.1830\inc\ddk\wxp\ntdef.h(84) : warning C4005: 'MAX_NATURAL_ALIGNMENT' : macro redefinition
c:\program files\microsoft platform sdk\in
-
- Save as Word
by Whoisit
- 7 Replies
- Last post
by tsala
- I'm using this rtbText.SaveFile(currentFile, Word.WdSaveFormat.wdFormatDocument) it saves it ok but when I try to open it in word it ask if it can install a converter I click No then the document is shown but now whan I click save it ask tells me that it will save it as a text document. All I want to do is save the text in the .doc format, why is it proving so difficult
-
- Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
by jgd12345
- 13 Replies
- Last post
by blackjack
- Hi, why do i keep getting (with my dataset):
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
all over the place. I found an article at http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfSystemDataDataTableClassGetErrorsTopic.asp
and come up with the following code:
Dim myDataSet As N
-
- VB Studio
by RCAnonymous
- 2 Replies
- Last post
by RCAnonymous
- Can I develop an application in VB Microsoft Studio, that will be used in an intranet evironment, royalty free I wish to later distribute my application to other customers.
-
- File assosiation + icon (little more advanced)
by Seith
- 3 Replies
- Last post
by Feng Chen - MSFT
- Okay, so a little bit of background on my program: It'll basicly be an "autokey" program (like shortkeys) for personal and friends to use - but I'd like there to be able to 'save' the short key lists, and be able to load old ones from a .hak file - which also assosiates with my program. How would I be able to do this Cheers, Seith
-
- fatal error LNK1169: one or more multiply defined symbols found
by Bill Tubbs
- 2 Replies
- Last post
by Bill Tubbs
- I've read other posts about this and usually it's caused by accidently adding two or more copies of the same source code to the project.
I have three source code files and I can't identify which symbol is 'multiply defined'. This link error only occured when I started building the release version, it was fine on debug, so I have no idea when the problem started.
Here is the full error report
-
- Assigning variables to their own sub procedures to be called to work in a "formula" type sub
by 3_&#47;&#92;&a
- 4 Replies
- Last post
by SaTaNsR3Ject
- Okay I think this should be very simple but I can't get it to work how i want it to!! I want to have three variables in their own seperate sub procedures, all from textbox's that the user puts their information into, 1 as a string the other two as numbers. I have it working without breakin it up into sub procedures, but when i do put them in their own subs, it doesnt work...at all for me... Here i
-
- how to make a detailed view?
by pinoyz
- 5 Replies
- Last post
by pinoyz
- how to make a detailed view interacting with the database...to move to the nextdata or back to it's previous data
-
- How to invoke an applicaion from VB
by P_R_A_N
- 3 Replies
- Last post
by Jay Vora
- How can I invoke an application from a VB code, application can be any executable like Winamp.
-
- DataTableCollection to String
by petrusagostinhus
- 7 Replies
- Last post
by Ji Zhou ¨C MSFT
- hi people.
my question is how to convert a DataTableCollection to String
thank you for your attention.
-
- A question about visual c++ express edition
by Ricardo 8a
- 2 Replies
- Last post
by Ricardo 8a
- Hi there.
When i try to use a dataset it show two type of files that i can use, a access datafile and a sql server datafile.
Whit this version you only have access to this 2 file types
In the other versions do you have another access file types. like fox,dbase,execel etc.
Thanks for your time
Ricardo 8a
-
- Installed Microsoft Windows SDK & now cannot build a thing! What's going on?
by DOSrelic
- 12 Replies
- Last post
by iccle
- One time trying to build a Forms project I got this error message amongst others: error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup Debug\Rtry070118.exe : fatal error LNK1120
Then
New CLR project and many other variations The ONLY source file in the project was this .cpp file!
/* memset example */ #include <stdio.h> #include <string.h
-
- Beginner Question about Me NameSpace
by Michael Capone
- 9 Replies
- Last post
by Michael Capone
- I am new to Visual Basic 2005 Express. I am running Microsoft¡¯s tutorial lesson. This lesson is a simple form with one button that when clicked, will open the default ColorDialog box. You can then pick a color and it is assigned to the Me.Backcolor.
You can find this lesson at: http://msdn2.microsoft.com/en-us/express/aa718409.aspx
Anyway, this is the code that happens wh
-
- cl.exe -
by Mapa3matuk
- 2 Replies
- Last post
by Mapa3matuk
- Hi guyz,
I got the following problem with cl.exe
When i try to compile my cpp file through IDE its ok, but when i go command line and use cl.exe i get the following error:
C:\Documents and Settings\Dmitry\My Documents\Visual Studio 2005\Projects\MyDll\MyDll>cl /DLL MyDll.cpp Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86 Copyright (C) Microsoft Corp
-
- problem if i try to send e-mail
by mse07
- 3 Replies
- Last post
by ronald6581
- hi for everyone if i send e-mail by visual basic from outlook , before outlook complete sending the message it shows message box contain following text :
A program is trying to automatically send e-mail on your behalf.
do you want to allow this
if this unexpected,it may be a virus and you should choose "No". my question is : can i send e-mail without sho
-
- How Awesome is C# !
by griffithvoice
- 6 Replies
- Last post
by IsshouFuuraibou
- Hi everyone!
well i'm pretty new to the world of coding...in fact, except for some basic years ago and a little PHP I havent really programed much. So I was expecting a bit of a struggle to learn a language and actually put it into real use. So I grabbed the SAMS manual - learn c# in 21 days in the hope that I could struggle through a little.
Well to my surprise and shock! visual C#
-
- is VB is a programming language ???????????
by Mohan_Kumar_04d4b5
- 14 Replies
- Last post
by Spidermans_DarkSide - VSIP
- it's all about Drag and Drop , so can we call vb a prog language ... is that right
-
- timer current value?
by Jo&#38;&#35;22
- 4 Replies
- Last post
by nobugz
- Hello, I want to know if it's possible to see the current value of the timer enable.
For example:
timer1.interval=100000
and before the timer1 stops i press a buton that shows me a msgbox with the current remaining time.
EX: 5000
Thanks