Search:
Type: Posts; User: aspfun
Search:
Search took 0.07 seconds.
-
There are a few subs in a form.
sub new, sub onload, sub form1_load
From form open, what is the sequence of subs loading? Which sub is loading first?
What code should add in each sub?
-
There are three forms in on project:Mai, formOrder, formShip.
When one form open, I want to hide another two forms.
For example, when formOrder open I want to make Main and formShip two forms...
-
One ASP.NET project keeps on receiving a message below from "Try...Catch...End try" block.
System.InvalidOperationException: ExecuteScalar: CommandText property has not been initialized
I...
-
I stored connection string in web.config file in which including server name, user name and password.
Also, I use publish way to compile asp.net apps to web server.
But, IT people said that...
-
I used code below to display an error on the screen.
I want to create a txt file error.txt and insert error messages into it.
Where will add error.txt file be?
I tried to put error.txt under...
-
For Winform project how to code to upload to FTP server?
Does need third party library?
The project I created is using SSH.NET and it works fine for two years.
But, after Windows update it did...
-
In a winform project, I need to code to insert pdf/doc/xls/jpg file into a SQL table.
What is the best way to complete it?
-
A column OrderDateTime in a SQL table store data like below.
2019-11-01 11:31:31.163
2019-11-12 09:31:31.163
2019-11-15 15:31:31.163
2019-11-22 20:31:31.163
-
I learn OpenFileDialog but I don't know how to remove "All Files", "*.*" from OpenFileDialog.
I want to list only Excel, PDF, Word and Jpg files.
Please help.
Dim fdlg As OpenFileDialog = New...
-
There are about 20 content pages in application with the same master page.
Master page only has company logo and application title.
How to add scroll bar so that various screen resolution...
-
I created an error.txt file to save catches error as code below.
Catch ex As Exception
SaveTextToFile("Error in Main_load" & ex.ToString, "Error.txt")//savetexttofile is a function
...
-
There a batch file order.bat like below. 12345 is a order number (it is variable) and aspfun is user name. (it is variable)
D:\MYORDER\ORDER.EXE 12345$aspfun
When double click order.bat will...
-
VS 2019 was released.
I search for what is new in vs 2019 but found that there is nothing special new features.
Is it worth to upgrade?
-
There are about 10 pages in one application.
After publishing application to web server how to update only one page, including aspx and vb without re-publish?
Users are in application in 24...
-
In web.config I used code below to disable custom errors.
<customErrors mode="Off" />
To view errors for debug, I need to call IT to get errors in web server in event viewer.
If I add code...
-
There is a column [VisitID] in table OFFICE_VISIT which data type is integer.
There is a text box will store data from column [VisitID]
How to declare variable for this text box?
For...
-
Most of time I am working at home using Gotomypc to remote access my pc in company.
But, Gotomypc will auto disconnect after 10 minutes if I did not touch mouse or keyboard.
Is there a simple code...
-
In ASPX page, I add CSS as below.
Both vertical and horizontal scroll bars display but grey out.
How to make scroll bars showing and working?
.mybody {
margin: 0;
background:...
-
Please open CNN at https://www.cnn.com/
No matter you zoom in or zoom out (Ctrl +, Ctrl -), CNN logo and menu are always visible.
How to make it happen?
-
I used code below to hash password.
How to input key to hash, using letter or number?
Public Shared Function Encrypt(ByVal stringToEncrypt As String, ByVal key As String) As String
DES.Key =...
-
I used encrypt code to save password in a table.
For example, if user Smith Rice login password is "Pass987$$" will save as "DLMyAdxvqXzOWZB5BuyW1YFR4JftD7jkQP/VHBHPTH8=" after encrypt.
But IT...
-
I used timer to delay form2 show.
It works.
-
Form2 will do PDF files merge. Sometime there are about a few hundred files to be merged.
-
-
On Form1, there is a button1 and a label1 displaying text "Please wait..."
When I click Button1, I want to display label1 and then open Form2.
But, label1 never display when I click Button1.
How...
-
I used code below to save user's register user name and password.
It is not security because password is readable.
How to encrypt password and save to SQL?
Dim cn As New...
-
I learn how to merge images files from here.
http://www.vbforums.com/showthread.php?338361-Combine-Images-in-VB-NET
But, this code put two pages in one page.
How to modify code to merge two...
-
I used code to stored multiple images in list.
How to merge images stored in the list?
Dim imagelist As List(Of Image) = New List(Of Image)
Dim ds As New DataSet
Dim i As Integer
Dim...
-
I need to create a project to merge multiple image files which stored in SQL as varbanary data.
Here is code to get image
Dim imageInBytes As Byte() = ds.Tables(0).Rows(0)("IMAGECOPY")
Dim...
-
I am looking for a win form control to display binary data as MemoryStream.
The binary source are converted from GIF, JPG, TIF, HTML image file and stored in a SQL table.
Please help.
-
I used code below open a PDF file but got a error said
The specified executable is not a valid application for this OS platform
But, if I open non-security folder as Process.Start(FILE_NAME)...
-
I used code below to open high security file in folder order and require to pass one user's account and password.
But, Process.Start did have this option.
Is there another command will do this job?...
-
My project created a test.exe file from the code below.
How does user to run test.exe and pass parameter like below without type CMD to command line?
test.exe testikcompleted
Private Sub...
-
I need to create asp.net project to create PDF file in which some data coming from SQL server.
This PDF file need to save into a file server.
Where to start?
-
I used code below to send an email from a winform project.
But some users got an error and some user sent the email successfully.
How to fix it? What should I tell IT to fix?
Dim myMail As New...
-
In SQL, I can use code below to assign multiple values to a variable.
select * from flower where color in ('red', 'yellow', 'green')
How make this code working in vb.net like below?
select *...
-
I completed a winform project and copied all dll files and exe file from bin\debug to one folder myproject in a server.
User only need to click exe file, application will work.
This way is working...
-
There are two forms in my project, main.vb and Edit.vb.
By clicking a button in Main form will open Edit form to update data.
Once clicking Submit button in Edit form, how to call a function in...
-
I used combobox and binding with dataset. It works fine.
I have one question.
Combobox is drop down style and lists some colors like below.
red,
orange,
-
One table from another company in which a lot of PDF files were saved as binary data in one column.
How to extract PDF in SQL table and save them into a file saver as PDF file?*
Thank you for help
|
Click Here to Expand Forum to Full Width
|