11,869 Topics
![]() | |
i never used VBScript. how can i use win32 functions? | |
Hello everyone, I have a txt file with data which I want to import to an excel file, by button click. The first couple of lines of the txt file contains general information which I don't want to export. The program should only read the lines which contains a word … | |
Hi guys i need help to read block data from binary.. The format is Byte position, Content, Format 1 - 4, Block Length, I * 4 5 - 12, Sensor Name, C * 8 13 - 20, Satellite Name, C * 8 21 - 24, Latitude, R * 4 Im … | |
I want to find the MAC address of network adopter, I have a working code too but my problem is it only works if IP addres is enabled otherwise it won't get the address is there any solution to find MAC address even if IP Enabled is false if its … | |
In Excel sheet, Cell A5 will be given input value (ie., 1 to 5). If A5 = 1, then in cell range A8 to A30, it should count cell to the input value [which is 1. ie., A8, A9 etc] and that each cell will run small formula "=SUM(O17:T17)" and … | |
Good day, I have created a WPF (visual basic) application. On the main-page, I have "tab control" inside a "grid". On "tab one" the user selects an "ID" and below the "datagrid control" populates with information (this works). On "tab two" more data (from a different table (linked – using … | |
I have tried to display the names of table in oracle database in visual studio 2012 in combo box but i am not sure why it is not displaying private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { try { con.Open(); OleDbDataAdapter oda = new OleDbDataAdapter("SELECT table_name FROM tabs where table_name Like … | |
Hello! I've been debugging this VBA program that computes the root of an equation using Newton Raphson method and with the use of the UserForm. The user will type the equation, the initial guess and the number of iterations. I was able to search on automatically differentiating the equation unlike … | |
Hi all, I'm trying to make super simple essay-writing-helper program, I have created 4 forms (intro,paragraph1,paragraph2,result) and in each form contains a textbox where the essay will be typed in. The first form is for the introduction, and next is the first paragraph and so on. The last form the … | |
I have many checkboxes on my form, I decided to create a custom checkbox to use instead. I thought I could just change the following two lines of code in Mainform.designer.cs... `private System.Windows.Forms.CheckBox chkapp;` to `private CustCheckBox chkapp;` and `this.chkapp = new System.Windows.Forms.CheckBox();` to `this.chkapp = new CustCheckBox();` And I … | |
My Visual Studin 2010 suddenly showing nbsp symbol for the html designer. how do i disable it. | |
hello Am trying to make an app which has five questions with textboxes for each question for entering answers.Question one has two textboxes worthy one mark each for the correct answer and question two one textbox worth two marks for the correct answer.I want the marks got for the correct … | |
Hi I have an existing Visual Basic 6 program which prints to an attached (LPT1) Dot Matrix Printer. Printing is done by first sending the output to a file and from there sending it to the printer. There are a set of Escape Sequences like Print #1 chr(15); chr(3); strVarName … | |
I want to create a program using vb 6.0 that is connected to a wamp server database.is it possible?can you help me with step by step instructions for it?thanks alot i badly need it for my school project.. | |
Hi group, I'm trying to insert both a copied range (from and Excel file) AND a message (text) into the body of an Outlook email. I've perfected the code to insert the range, but I've not figured out how to get the message to go along with it. I hope … | |
i am using VB 6.0 and MSAccess in my project.. in one of the forms i use a flexgrid to store data into and load data from database. and also to edit each cell i use a textbox. alll these are working perfect, bt i have a problem with saving … | |
hi i having trouble with saving and checking duplicate with my coding..i can't save my data and when i save a new data , it's always say duplicate..i want to save my new data and if it record is already have it, want to show a msgbox saying duplicate..here my … | |
I create a project add some item (C_Number,E Number, Model, Type, Color, Key No, Price(numeric field)) in MSFlexGrid1. then add a button when click on this add the record in data1, but only 1(one) data add in the data1 database. I use access database. How can I add all (minimum … | |
I really need help with this. I've been using Visual Studio for C++ and Assembly, and I can build my projects with zero errors, but when I try to Debug I get the message: **Unable to start program "C:\mypath\Debug\filename.exe" The system cannot find the file specified.** or if I Start … | |
![]() | I am trying to make it to where it will read the registry and report back if ProxyEnable is set to the value of 1. If it is, it replies back that the privacy is in risk, if not it says privacy is safe. Here is my code. Any help … ![]() |
i want to show the duplicate record with a msgbox,but i dont know what to do next, please help for some advice and coding ...ty Private Sub cmdadd_Click() On Error Resume Next If (txtempid.Text = "" Or txtempid.Text = Null) Or (txtempname.Text = "" Or txtempname.Text = Null) Or (cbodep.Text … | |
Hi I need help I have some XML files which have more children and grandchildren, than I am used to playing with. (Link to xml file below) https://intecprinters.iweb-storage.com/s/IjU2OTNlNjVkNmExODkyMDlmNjU5N2MyNiI.jaEay6nxR-v-gaiJwcVNiP113QI I need to be able to read the xml, determine the name Root node ,<JOBS_Jan_2016> and obtain the list of names of … | |
Hello, I'm trying to connect some C# code to a Microsoft TeamFoundation Server, but I can't seem to find any documentation for Visual Studio 2015 (Typical Microsoft?) But I did find something for Microsoft Visual Studio 2013. https://msdn.microsoft.com/en-us/library/bb286958 It turns out that they have broken the old way (2013 way) … | |
Hi, I have an app that works with Visual Studio 2010, but not with VS2015. Its purpose is to redirect stdout to a thread that reads from a pipe created with: if (FALSE == CreatePipe(&pipeout, &pipein, &sec, 0)) { mes = strdupa("SCRIPT: Unable to create pipe"); goto err; } SetStdHandle(STD_OUTPUT_HANDLE, … | |
Hello Friends I am facing a little problem that I want to sort my records according to date I mean to say I want to show the upcoming records based on dates on the top in ascending order I have a complete working code to fetch from the database but … | |
Dim arr1 As String If Left(arr1(i), Len(n) + 2) = n& ": " Then titleBar = String$(100, Convert.ToChar(0)) valid1 = Right(arr1(1), Len(arr1(1)) - 13) how to convert vb6 to vb.net ? Left String$ Right Private Declare Function ObjectFromLresult Lib "oleacc" (ByVal lResult As Long, ByVal riid As Guid, ByVal wParam … | |
I have a windows form application, which uses some user settings (Settings.settings) One of those settings if of type bool and set to default of False. In my form_load event I check that value, if it is true then a new form is started where user enters a password, and … | |
i need help in adding a new record to the database using adodc in vb6.. i've a command button named add in my form... | |
I am facing a problem that I have to show database results from 3 different tables on a single report these three tables have are used for different purposes and want to show their headings details separately. I am using VB6 and designing this report in **DataReport** a common feature … | |
I am developing a sample project in Visual basic 6 and MS Access 2003. 1. I wish to print Invoice in Continuous statonery (Roll Paper ) width of paper 5.5 inches I am using printer.print Code using (x,y) co-ordinates My problem , after printing one bill printer skips and giving … | |
Hello DaniWeb Users/Programmers, I don't know if I post this on the right thread but I already post in Linux and Unix Thread but the cause I try ask in here is because it is programming related. I am a window user but trying to use linux for some purpose. … | |
How do I query a database with unique id to display records in list item | |
Can I get assistant here.. I want to query a database with I Unique id and and display report on list item control with vb6 | |
I have a new command in my connection 1 of my dataenvironment, but, when i drag the "Command1" to my form, i cant see the labels and textboxes , why? Please help me, its my homework | |
Aslam o alikum, I create a report in Crystal report 9 with add command using Oracle 11g as Database with OLE DB (ADO) (Microsoft OLE DB provider for Oracle). It works fine in crystal report. I want to call this report from vb6 form. I m not using any server … | |
Hi Dw. Firstly I would like to ask if there is anyone know a good download link to download VB6.0 I'm in need of this IDE. Now coming to my actual question of how to detect USB insertion and removal and get a drive letter for it in VB5.0? Thank … | |
I installed VB6 on my new windows 10 computer and it installed fine. My compiled program works fine. However, in the IDE mode it does not 'recognize' the on error resume next (or any other on error statement) and shows in a popup that there is an error and will … | |
hello so we are in the process of developing a tagging program, and im building the form in c#. now how would we be able to connect the db from workbench with this form in visual studio to make queries in the program? btw the databse i hosted it at … | |
Public Class Form1 Dim intsum, intaverage, counter As Integer Private Sub btnAverage_Click(sender As Object, e As EventArgs) Handles btnAverage.Click For counter = 0 To lbNumber.Items.Count - 1 intsum += counter Next intaverage = (intsum / lbNumber.Items.Count - 1) lblAverage.Text = intaverage End Sub Private Sub btnSum_Click(sender As Object, e As … | |
I am trying to navigate through several we pages and the hyperlinks are constantly changing. I am trying to figure out how to identify a specific link on a web page and then follow it. | |
I'll try to be brief in this post. I'm working on a cave generation program that will implement cell automata and marching squares. I'm new to Visual Basic and am wondering if the Canvas class is the best way to draw these black & white squares. For a reference the … | |
**Task** Your task is to write a program that will draw graphs and output them as a full colour image in the .ppm file format and display them using a suitable external image viewer (IrfanView). The program will use code generated sine waves, and harmonics of these, to calculate and … | |
Hi to All. Im create a Vb 6.0 project with MS Acess back end. And Its Have A purchase Report Form. It's works good. But I want to made purchase entry by multiple product's data entered at single time. Like Entering products datas one by one it can be listed … | |
I was wondering if anyone could help me out with a problem I've had for a few days. This is a code snippet of a program I'm writing to move and delete email attachments from one or more selected emails. Everything works great except the program won't edit the body … | |
1. Write pseudocode to solve the following problem. (i) Declare an array nums that can hold 100 real numbers. (ii) Write pseudocode to load nums with 100 values, entered via the keyboard. Assume all data are valid. (iii) Write pseudocode to prompt for an integer target. Search array nums for … | |
How to replace string with variable in substring? btw im using vb I have a below query that work fine but I just want to replace "ra*" with a variable. How can I do this? SELECT DISTINCT a.[rank], b.Description FROM CONTAINSTABLE(myTable, *, '"ra*'") AS a INNER JOIN myTable AS b … | |
Hello, I am facing a very little problem but I am totally confused how to resolve it I have two tables in my access database which have similar items in it from the first table i.e **tbl_reci_inds** I have selected **reci_prod_code** which is a product code, also in this table … | |
I am trying to work the next and previous button to read or navigate throughrecords, please help me to correct this, I'm stuck here: Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click Dim k As Integer Dim i As Integer k = 1 i = k + 1 … | |
I had 3 datagridview in visual basic, and each of them is linked to each other. 1 Main component can have many Failure Mode and 1 Failure Mode can have many Critical. [Click Here](http://i1333.photobucket.com/albums/w631/lloyd1006/1_zpsapbu0wla.png) [Click Here](http://i1333.photobucket.com/albums/w631/lloyd1006/2_zpsbe2c2u3n.png) [Click Here](http://i1333.photobucket.com/albums/w631/lloyd1006/3_zpsw2s2weo6.png) I want to duplicate selected row or record including their children details, … | |
Hi all, i am doing my project. i need one search box to find something i write in the box, how can i code that? its very important please help |
The End.