12,155 Topics
Iam getting the converters from vb.net to c# but iam Not getting from visual basic to c# converters
Hi friends, I am migrating VB6 project to VB.Net. I am stuck with these warnings for which I am unable to find solutions. I would be grateful if I get solutions to atleast some of the below warnings. Warnings: ------------- Need VB.Net equivalent for the below code as they are …
hi... i want to play wav file on my form. ex : media file on windows -> C:\WINDOWS\MEDIA\TADA.WAV how can i do this?? please help me thanks. best regards :)
Hello everyone, I have a problem, I have to get value from edit box, store it in variable and based on that value need to update another edit box. Please tell me how can i get inter value, which is entered by user in visual c++.
Dears, I have a problem - I need to write VBS script which will show me a question: "Please enter string to search" and then to find that string in description filed of all groups in AD (limited to some OUs) basicaly I need it to do sth like [code]dsquery …
Hi team, I've written a windows program and it works nicely but its really slow when it retrieves the data from the server. Program Overview: The program allows users to search through a database and add contacts if they want. Some of the fields on the forms fill up depending …
Hi guys, I am using Visual Studio 2008 and have connected a database correctly as I have done a login that works fine, although when I try to insert information submitted in the text boxes a different table, it doesn't enter after I end program to check it still has …
IS there a way of generating reports from VB6 ( not through Data Reports & Crystal Reports ) which directly sends to a local printer and printing should be done fast, No matter what ever may be the font.
I have currently migrating my applications to Access 2007 ADODB from Access 2000. Most of what I have done now works. I am having a minor problem with one of my forms though. When I save the form, and close it using [CODE] DoCmd.Close acForm, Me.Name[/CODE], the code closes the …
Can you help me to communicate between a 8051 based micro controller and a PC via RS232 ? I built this µC system some years ago; the PC interface is written in Qbasic. Everything was all right untill I switched to Win XP. I'm looking for either a Qbasic version …
i have a hard time in connecting my db to my project. cause i want my my cmdSearch_click() connect to my table EmployeeInfo and my cmdTimeIn_click() connect to my table TransactionTable in just 1 form and 1 ms access file.. is that possible?? thanks in advance for answering..
Hi every1 I have 1 problem about read text file Hope every1 help i have 1 text file example :list.txt as 12321 123412 123215 123 1235 Now We read file list and print line by line .Print line 1 after 10 s earse line 1 and print line 2 after …
I play a game called Hyperiums... long story short, the fleets cost money depending on your planets race, production and government type. And you can have it by how long it's going to take and what the fleet AvgP is going to be or see how much the upkeep will …
Hi Guys, I'm in the process of developing an ActiveX control which is designed to check the status of an installation and the config of that installation if it is there. I'm 5/6ths of the way there, but in one of my steps, I rely on a 3rd party DLL's …
I am planning to write a programme that can manage a contact list and instead of creating a new contact database, i think it is rather good to take advantage of the outlook contact database and the already existing functionnalities of MS outlook. I will then only program additional task …
I'm trying to figure out how to pass a parameter to a report in VB... [URL="http://screencast.com/t/MjBhYjYxOTM"]http://screencast.com/t/MjBhYjYxOTM[/URL] I've looked at the microsoft library on the report viewer class, but it's only slightly better than a boat anchor... does anyone have any other useful tips on how to figure this out?
Hello i need help about detecting any series items in a list box. suppose two or more series items are "glass01" "glass02" "glass04" "glass03" "glass05" "marvel" "apple" "mango001" "mango002" "mango003" "mango004" "book" "pen" these items are list1 item. the series may be in different string. here two series glass and …
Can anyone show me how to use icons in my forms..they dont paste.
I'm using Mastering Visual Basic 2010 <book and it tells me... In a button's Click event handler, declare two variables as follows: Dim a As Single, b As Double Then enter the following statements: a = 1 / 3 Debug.WriteLine(a) Run the application, and you should get the following result …
HI everyone i wanna ask that how can i make the combo box readonly which is created using MACRO
Please i need help what is the missing Code here... THis is like a Simple POS [B]this is the CODE:[/B] Dim total As Double Dim item_price As Double Private Sub cboFruits_Click() Me.txtQuantity.SetFocus End Sub Private Sub cboFruits_DropDown() Me.cmdAdd.Default = True End Sub Private Sub cmdAdd_Click() item_price = 0 With Me.cboFruits …
i have an application in which u display first a login window. AFter that a form is displayed. now you can exit the app by clicking the exit command button on the form which in return displays a vbmodal dialog box for confirming the response. NOw i want to display …
i have made a program for work which is a logging tool which is just filled with text boxes and combo boxes I am tryin to link to a access table so the info I put in the logging tool goes straight into the access table even if the table …
Hi In vb i get error 3015 where it says idx(field name) isn't an index in this table. Look in the Indexes Collection of the Tabledef object to determine the valid index names. I have Access97 database and checked that the field i mentioned is indexed(Autonumber). I get error on …
please help me to do with my system. i want my TextEmpID.Text is auto generated evrytime i will add another employee name. Field = "EmployeeID" i'm using ms access as ADODB thanks in advance
Hi friends, How do i calculate the week number of a year? The week number should be calculated from the first day of a year. For example, this year 1st January 2010 falled on Friday, so week 1 should be calculcated from Friday(01/01/2010) till Thursday (07/01/2010). therefore, given any date, …
Hi Here i have found macro code to extract URL from hyperlink(anchor tag) in MS Excel. This code is very useful to fetch the particular URL from the hyperlink by single click. No need to view the website to view and copy the URL. First in MS Excel go to …
HI, I want to transfer a text file from local machine to linux server using ftp in Visual Basic 6.0. Can you please share your thoughts on how to acheive this?
Pls help me to convert a notepad to excel and then to access in vb6.
Hi..pls help me how to send mail using outlook IN VB using windows aplication
Hi Frends, I m creating an project. In this project i need to store image in oracle database. I don't know how to store image in Oracle Using VB6 i want to add image by add Dilogbox How can it is possible? Please Send me answare and Coad if needed. …
i have a problem generating auto number. can someone help me to solve this? here is my code [CODE] Try If IsConnected() = True Then strSQL = "Select max(*) from Supplier" End If myCmd.CommandText = strSQL myCmd.Connection = myConn myDA.SelectCommand = myCmd myDR = myCmd.ExecuteReader() If myDR.HasRows Then Label5.Text = …
Hi I have a problem, i have designed a database program with vb6 and ms access. and the program is suppose to display specific records using datareport. eg ,display records of student whose fees are> 10000. But i dont know my way out. hope to get help from anybody.thanks in …
Hello, I'm uneducated in programming and I'm starting off with Visual Basic since I can simply use the toolbox to add things. I have looked at variables and stuff. I am using Visual Studio 2010 and am using the form part of Visual Basic in it. I used the calendar …
Hi Expert, I already create a datasource name for my Access database. However, I failed to connect to that database using this code: Set db = DBEngine.Workspaces(0).OpenDatabase("dbsourcename", ,"DSN=dbsourcename;UID=MyUID;PWD=Mypassw") Could anyone help me please. Thank.
Please Somoene Help Me i'm using visual basic 6 in platform windows xp how i want to use skin vista in myproject.exe? >>>can someone share with me an activex for vb6... :) :) [snipped email]
Kindly tell me how can I insert data from a bi-dimensional array [I]ex. array1(10,10) [/I] to a DataGrid/DBGrid and visa-versa. Please explain with a sample source code.
Its about visual basic. I am making an application for loan system.. I don't know whats the code. It goes like this, the situation is: * Count how many times does the CO-Maker grant already a loan. Need help for this.
Hi there, I am a Microsoft Word developer and I sell Microsoft Office solutions, to companies. I am beginning to be concerned that my solutions are being copied - which is fairly easy. I am hoping someone can give me some advice about the best way to do this. I …
I'm using Visual Basic Express 2008 to create an interface with a order database in MS Access 2007 (.accdb file). Everything is fully functional except updating the "Inventory" table is very slow. Updating around 2200 items takes almost 2 minutes and the window will appear as "not responding" for the …
Is it possible to check which version of Excel a user's computer will open while in a VB6 application? Some users will be using Excel 2003 and some will be using Excel 2007 and, in theory, a single command button will open one of two excel sheets based on which …
hi can u help me..i have project in visual basic that can teach me how to design and encode the attendancr monitoring system ..hope you will help me..thankyou,,
Hi, In vb i use Data Form Wizard and connect access database and create a form which automatically creates update,add,delete,etc buttons. Now what i need is when i open the form and enter (say some student id)in a field then the next field is the student name which should be …
hello can you help me please i have exe file and it runs okay in my computer...but when i transfer it from another computer my exe file will get run time. here is the message.. Run Time error '339' Component 'msflxgrd.ocx' or one of its dependencies not correctly registered: a …
I am making a basic Player vs. Computer Tic-Tac-Toe in Visual Studios Express 2008. My Form.cs is [code]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Tic_Tac_Toe { public partial class Form1 : Form { public Form1() { InitializeComponent(); } public Image …
[CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim r, d As Double Const Pi = 3.141596 r = Val(rtb.Text) d = Val(dtb.Text) If 0 < d < 360 Then r = d / 180 * Pi rtb.Text = Format(r, "0.00") dtb.Text = Format(d, "0.00") ElseIf …
I would like to know how to increase the speed of data loading into flexgrid from Database(SQL Server).currently im using a loop but this takes a lot of time when there are alot of data...pls give me a solution to this problem.. Thank you
Hi, In vb i used data form wizard to create Master/Details form from a database. When i run that code i get a error in the below line: Private Sub Form_Load() [COLOR="red"]Set grdDataGrid.DataSource = datPrimaryRS.Recordset("ChildCMD").UnderlyingValue[/COLOR] End Sub It says Data error event hit err:[ADODC]: Unknown error. [ADO] then it says …
HI, can anyone help me pls on how to set the paper size of my datareport on printing. here is my code but it doesn't work. I don't know the reason why it does not work on me. Printer.PaperSize = 5 'SET TO LEGAL PAPER SIZE dr1.Orientation = rptOrientLandscape dr1.Show …
I have got a very simple video player wrote using Visual Basic 2010. I have embedded the windows media player into the app without the controls. Right now it has simple play, pause and open buttons that work with wmp . Can anyone explain how to make a slider that …
The End.