20,284 Topics

Member Avatar for
Member Avatar for adadziwa

Hi Am working on a project and this time i want the use to choose whether or not to show the splash screen. If the user choose NOT to show a NO is registered in a hidden XML file which tell the program not to show the splash screen when …

Member Avatar for adadziwa
0
139
Member Avatar for bishop_kv

Hi, I have a little problem with reading data from text file which has more than 5000 words. To make long story short, I need to make english to serbian translator.It has to have 2 text boxes,one for english word and one translation; one button for translating. I tried almost …

Member Avatar for bishop_kv
0
178
Member Avatar for Gus_19

I am trying to figure out if and how it would be possible to implement something like a conditional statement for the excel spreadsheet my program writes to. The spreadsheet is created on the fly each time the program opens up. I would like to place a statement along the …

Member Avatar for kRod
0
138
Member Avatar for G_Waddell

Hi, Getting some strange behaviour when using Interop to create a Word document from a template. I'm using word to generate a nicely formatted and printable Receipt from Sage 200 based on a Word Template. The code should open Word then create a new document based on the template I …

Member Avatar for G_Waddell
0
254
Member Avatar for gmmorpheus

Private Sub Save_Record() Dim cmd As New OleDbCommand Dim sSQL As String = String.Empty Dim arrImage() As Byte Dim myMs As New IO.MemoryStream Dim bSaveImage As Boolean = False Dim strImg As String = String.Empty Try If Not IsNothing(Me.pic1.Image) Then Me.pic1.Image.Save(myMs, Me.pic1.Image.RawFormat) arrImage = myMs.GetBuffer Else arrImage = Nothing End …

Member Avatar for Kishan Tilak
0
639
Member Avatar for Ahmed.C

Hello! I was just wondering if there is a way to send an email to whoever you want with whatever the email account is. Right now i've got : Try Dim mail As New MailMessage() Dim SmtpServer As New SmtpClient SmtpServer.Credentials = New Net.NetworkCredential("user", "pass") SmtpServer.Port = 587 SmtpServer.Host = …

Member Avatar for Ancient Dragon
0
189
Member Avatar for jason.craft.5439

So I have this assignment for school and I've got the program working, but some minor issues (maybe major issues with cleanilness of code, but working on it). I'm having to make a Guess My Number program and it seems to work, but when I start a new game it …

Member Avatar for kRod
0
443
Member Avatar for sandeepparekh9

Simple Encryption and Decryption Function using rijndael algorithm. Imports this: Imports System.Security Imports System.Security.Cryptography Imports System.IO Imports System.Runtime.InteropServices Imports System.Text.RegularExpressions Imports System.Text Source : [snipped]

Member Avatar for Reverend Jim
2
10K
Member Avatar for Ahmed.C

Hello. I've been working on this password manager and basically I want to encrpyt a saved file which contains password and account information. When the user clicks save then it should add an encryption and save it so that even if its opened in notepad or wordpad etc it will …

Member Avatar for Ahmed.C
0
186
Member Avatar for stilgharc
Member Avatar for Begginnerdev
0
111
Member Avatar for intes2010

Is it possible to make a web request using sockets? I am still studying about socket programming in VB.net and i wanted to upgrade my web request code using sockets. Here is my web request code: Dim cweb As String = "http://www.samplewebsite.com/" Dim POST As String = "sample post data" …

Member Avatar for intes2010
0
449
Member Avatar for ADPYvette

I am building an application that needs to access a database. I installed SQLite.net, made references to SQLite for Windows Runtime and Microsoft Visual C++ Runtime Packages. Now, how do I connect to the database? In other words, what are the Visual Basic codes? Note that I do not see …

Member Avatar for ADPYvette
0
205
Member Avatar for stilgharc

I can successfuly insert data but when I close the app the data is not save please help me..and how to retrieve the BLOB image in ms access and display it to datagridview. this is my code when I insert data Private Sub addStudent() Dim insertQuery As String = "INSERT …

Member Avatar for stilgharc
0
235
Member Avatar for Jayme65

Hi, I have to get a directory file list, filtered on multiple extensions...and sorted! I use this, which is the fastest way I've found to get dir content filtered on multiple extensions: Dim ext As String() = {"*.jpg", "*.bmp","*png"} Dim files As String() = ext.SelectMany(Function(f) Directory.GetFiles(romPath, f)).ToArray Array.Sort(files) and then …

Member Avatar for Begginnerdev
0
212
Member Avatar for Mayra71

I try to get the response from a request to a web service in Sonic, I can send the request and the webservice receive that request, but I cant receive the response, I receive Response = nothing I'm using vb.net 9, visual studio 2008. Please help me. I think something …

Member Avatar for Begginnerdev
0
314
Member Avatar for renzlo

Hello, Everyone, I need your help with my code, I am trying to display the image from database to picturebox but I can't figure it out. Below is my code: Private Sub LoadImage(ByVal ind As Integer) Dim cn As New SQLiteConnection("Data Source=C:\db\QC_ASD_2013_08_09.qdb") Dim cmd As New SQLiteCommand(String.Concat("SELECT beeld_data FROM image …

Member Avatar for Begginnerdev
0
516
Member Avatar for DM Galaxy

I am creating the Notepad.exe app, So I want to know Some Codes here. Need Codes For: • Find, • Find Next, • Replace with., • Replace all with. Please Help me out by solving this thread.

Member Avatar for DM Galaxy
-1
364
Member Avatar for Newbie_ITstuden

hi to all im new here, i have some difficulty in displaying records from database to my combobox here is my code in the form_load [code] Private Sub Form5_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim con As New SqlConnection con.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\lito\Documents\QMP_DB.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" …

Member Avatar for manlypullock
0
8K
Member Avatar for DM Galaxy

I am creating an app. where I need somewhat help. I use font dialog box for textbox... and this working but How can I save the font on the settings??? I mean: I am creating the notepad app.exe in such a way that whenever the user change the font, then …

Member Avatar for DM Galaxy
0
180
Member Avatar for eikal

Hello, i'm working on a simple program where i can enter a name and number and it will save it to notepad .txt file. I have everything figured out up until actually saving the text i enter. what code do i use to do this, in the program i have …

Member Avatar for Siva_6
0
1K
Member Avatar for Trle94

'm having some problems, can't findout what is problem with my Update system. I'm using XML file for it. What I'm trying is to get application to read xml file for updates(like some news system) and to get updating application if there is new version. I added already on top …

Member Avatar for Trle94
0
152
Member Avatar for boher

In my new project I get this error when I debug the solution (hit f5). I never caught this one and it only happenes when I select my "LoginPage" as my Main Form in the Application Tab. Other form load just fine but when it comes to debugging with this …

Member Avatar for G_Waddell
0
498
Member Avatar for JohnKelly

Dear All I am using Vb.net to update a database running on SQL Server. I am using the following to increase the value of the NextPlan in the SystemControl table in a SQL database. Command.CommandText = "UPDATE SystemControl SET NextPlan = NextPlan + 1" Command.ExecuteNonQuery() Once the Command is executed …

Member Avatar for JohnKelly
0
761
Member Avatar for nikki05

Hi, I would like to to to store the Name and Items of ComboBox into dictionary. With the below code,I am able to store them. However, Name of ComboBox is as counting ComboBox10 to ComboBox1n. I would like to store Name of ComboBox as ComboBox1,ComboBox2 rather than ComboBox10 to ComboBox1n …

Member Avatar for nikki05
0
562
Member Avatar for aalshamr

Hello to all am new programmer facing a problem in saving three checkboxs into database for example a b c all of the has a value in the database any one can heple from scratch I'll be greatfull regards,

Member Avatar for Begginnerdev
0
1K
Member Avatar for Dili1234

I taking data from 3 tables to crystal report.Tables are 1.Moblization -primary key is Fen_Inovoice_No 2.invovoice details -Primary keys are Fen_Inovoice_No and description 3.Client details-primary key is Contract name I 'm using this query to retrive data Dim cryRpt As New ReportDocument CrystalReportViewer1.SelectionFormula = "{Mobilization.Fen_Inovoice_No}= '" & Varibles.invoice1 & "'" …

Member Avatar for Dili1234
0
174
Member Avatar for maxpowr

Before i proceed with my question, lets give you the detail about the project: Am developing on inventory + accounting software in VB.NET and using MYSQL as database! now my question as below: 1.How to make a single setup package which include MYSQL server installation setup within it 2.while user …

Member Avatar for Begginnerdev
0
324
Member Avatar for frenchastro
Member Avatar for Reverend Jim
0
225
Member Avatar for Riteman

Am developing a software for submission as project. As a part of it, am planning to create a Phonebook package. I created a database in access and i integrated it in VB.Net. Information: Database name : Contacts.accdb DataTable : Contacts Contents in table : First Name,Last Name, Phone, Address... Platform …

Member Avatar for Takuramatthew
2
12K
Member Avatar for Ahmed.C

Hi guys. I just need help with something. Bascailly I've got a combobox which has all the colors e.g. color.black, color.blue etc and what I want to do is when the user selects the combobox item e.g. selected color.Blue it should change the labels forecolor to what ever the user …

Member Avatar for Ahmed.C
0
248

The End.