- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 12
- Posts with Upvotes
- 12
- Upvoting Members
- 11
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
VB'er Since 1996. Also know C#, Entity Framework, MVVM, WPF and a who slew of Microsoft technologies.
- Interests
- Programming; Music; Web
- PC Specs
- I have a PC. Good enough. Who cares?
Hi guys, i'm having a difficulty to set the path in vb.net.i put the code in the module and every time i run the code it throws error "Could not find file 'C:\Users\Abdueie\Desktop\BMS\Bridge Asset Management\Bridge Asset Management\bin\Debug\Adigrat.accdb'." here's the code Public conn As OleDbConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source= .\\Adigrat.accdb;Persist … |
|
Hi Guys, im facing problem at cmd.ExecuteNonQuery() kindly correct me wer is the mistake? n how to correct? Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Dim sqlinsert As String ' We use the INSERT statement which tells our program to add the information ' from … |
|
Hi Dw I'm doing a scanning program and now the problem is that there are some files and folders which the program can't access because of access denial and it just produce an error and don't continue with the scan so now I want to know how can I skip … |
|
Hi.. I have this problem in vb 2008 with this MDI parent form.. I know that you can't put any imageBackground for this, so I've just put a pictureBox the size of the MDIparent form to make it look like its background. But when I'm opening another form(it is just … |
|
I am trying to make a form in vb and connect that to database .First of all i created a databse and then opened new project and tried to connect that database to form. file new--->try____>project--->add new item---->Service based databse--dataset---->finish step2----->in databse explored right clicked on table and Add table … |
|
Hi everybody, give me please advice.I have proposed a class for serialization in namespace "Xml_form_application"and it looks this way: namespace Xml_form_application { public class RecordStore { public MyObject MyObjectProperty; } public class MyObject { public string item = "thing"; } } //Class form2 with button2 to calling this action private … |
|
hi I have filled my datasetfrom my sql db then used that data to show at crystal report, when i go back again to fill it with another data it show to me the old one why ? how can i solve this problem ?? Best Regards |
|
I want to show on Messagebox the value max and min value in my database. Help guys query = " SELECT Emp_ID, MIN(Log_Type) as min , MAX(Log_Type) as max FROM tbl_timelogs" mysql_connect(True) cmd = New MySqlCommand(query, SQLConnection) reader = cmd.ExecuteReader() |
|
its maybe a really dummie question but I was wondering is there any way to create a file (like txt) that the program can use its data but the users can't access it ? sql is an option but the data aren't large enough to be used. is there any … |
|
public partial class FrmEndDateSummaryOnLoad : FrmErpSimple { List<string> mVehicleRemainderList; //SMdiForm mMdiParent; string mCurrentUserId; string mCurrentPeriodId; DataTable dataTableVehicleID = new DataTable(); DataTable dataTableVehicleNextKMS = new DataTable(); public FrmEndDateSummaryOnLoad(CErpDataConnection pErpDataConnection, CUserLoginInfo pUserLoginInfo , CRegional pRegional) : base(pErpDataConnection, pUserLoginInfo) { InitializeComponent(); } protected override void OnLoad(EventArgs e) { mCurrentPeriodId = mUserLoginInfo.GetPeriodID(); mCurrentUserId = … |
|
Hi i have a problem in binding DateTimePicker value from one form named SearchDoctor to existing form named Doctor. Here is the code of my Doctor form and it works: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.Sql; … |
|
I want to make an import export company desktop application. But i am getting problem in making the design of the application. can anyone please help me regarding this??? |
|
Hi Everyone, I really require your assistance on the issue. I was debugging my code [C# console application] and i step down to the place where there is DATASET in my code and i clicked on the magnifying glass to see the data inside the DATASET. after clicking on the … |
|
I am new to VB, and have attempted to load all the free versions of the SQL available. Dispite many go's I still can not make any work. I go through the motions of including a database into my programs but I keep geting a long delay then "Unable to … |
|
I have been plagued by an issue for the past couple of days and I am yet to find a solution. I have an service installed at several customer sites. This service grabs data from a database, packages it up and then submits it to a web service hosted on … |
|
Hello as the title says itself. "Help", yeah correct by pressing "F1" key the Help form p[op up, same Form want to create in VB.Net, I google out then I find only that this can be done by importing any HTML File, Create the HTML File and link your Form … |
|
I receive this error ![4f39dda7d2306f99bd623d1011e6cf34](/attachments/large/4/4f39dda7d2306f99bd623d1011e6cf34.png "4f39dda7d2306f99bd623d1011e6cf34") when I have this code: Private Sub EditUsers() Try Dim dt As New DataTable dt = ExecuteQuery("UPDATE tblUsers SET UserID = " & txtUserID.Text & ", UserName = '" & txtPassword.Text & "', Password = " & txtPassword.Text & ", LastName = '" & … |
|
Hello everyone, I have a PDF file which I converted to a text file, and now I want to read the whole thing, search for the keyword "SITUATIONAL" and insert it all into the database and where "SITUATIONAL" will be the key entry for printing it out on the web. … |
|
[DataObjectMethod(DataObjectMethodType.Insert, true)] [System.Web.Services.WebMethod(TransactionOption = TransactionOption.Supported)] [AutoComplete] public int addVehCategoryType(byte[] VEHIMAGE) { SqlParameter[] cmdParm ={ new SqlParameter("@VEHIMAGE", VEHIMAGE), }; return SQLHelper.ExecuteQueryReturnInt(0, constr, "[VEH_VEHICLECATEGORY_ADDVEHICLECATEGORY]", cmdParm, true); } <asp:FileUpload id="fuCategoryVehImage" runat="server" Width="220px" CssClass="input" Enabled='<%# Bind("VEHIMAGE") %>'></asp:FileUpload> I have a web services methods like this, so how would i gonna do inserting images through … |
|
Hi group, I recognize the today, most people navigate from control to control within a form with their mouse. However some old school people may want to use a "enter" key or a up, down, left or right arrow. I'm curious to know if these kinds of events (if that's … |
|
i have a application in which i have taken 12 forms in my project. i have 5 questions in each 10 pages, and then i wanted to display the user's selection in the form12. whether he had checked the checkbox. and also display the wrong answer of our checked checkbox … |
|
Hello I'm new here and have been searching for a while but haven't came up with any results that satisfies my question. Basaically I'm making a tool that is sort of an account manager and needs to read some usernames from sample text file for example Sample.txt: username1:password1 Username2:password2 I … |
|
I'm having trouble figuring out how to fill a dynamic array function and then print it on declaration. Here is the function: Public Function SQLConductGetFields(InCommand As Object) As String() Dim ConnectionA As New MySqlConnection(My.Application.sqlconnect) Dim command As New MySqlCommand() ConnectionA.Open() command.Connection = ConnectionA Dim reader As MySqlDataReader command.CommandText = InCommand … |
|
I have a vb.net application with oracle express editon as back end. When I run the exe of application on another machine it gives error "ERROR[IM002][Microsoft][ODBC driver manager]data source name not found and no default driver specified". How to solve this issue. |
|
I searched and found a lot of codes and I made a code for myself for transfering file through ftp protocole but I got some errors there that I dont know:-s this is my code : Dim FTPRequest As System.Net.FtpWebRequest = DirectCast(System.Net.WebRequest.Create("ftp://ftp.microsoft.com/Softlib/" & "README.TXT"), System.Net.FtpWebRequest) FTPRequest.Credentials = New System.Net.NetworkCredential("", "") … |
|
Hello. Ive got a listview with columns etc and ive managed to sort the coding out so when i open a form, fill in the details in the relevant box then press save it transfers some of that data into the relevant columns, which is great. However i would like … |
|
i'm tring to make a diary. i need nice background. user could edit text anytime if he/she wants. but i cant do that, because i cant make transparent background on textbox or i cant make editable label. is there any way to do transparent background on textbox? how can i … |
|
HI i have this error null reference i don't know why Imports System.Data.SqlClient Imports System.Configuration Imports System.Configuration.ConfigurationSettings Public Class Form1 Private ConName As New DataAccess Private Sub cmdconnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdconnect.Click Dim conn As String Dim m_server As String Dim m_db As String m_server … |
|
Can you Close or Exit an application from within a Sub or what would be the 'best practise' for Exiting when the app has failed a logic test? My app checks for the existance of various files in a Sub Routine off the Form_Load and writes to a log along … |