Visual Basic please
Very much like Bridge but would love to see automation enabled via VB. JS may well be cross platform, but you really need VB for integration with other Windows programs - eg launching Bridge from cataloguing applications.
I suggest you search the net until you find something that sounds like it may be able to do what you want to do.
Like this link from CodeProject
C# \ VB .NET Multi-user Communication Library (TCP).
Although for the server to work I suppose it will need to be on a machine which has a public internet IP address or perhaps port forwarding would need to be used or dynamic dns. Things which may cost extra or not be available from your ISP.
What you need to know about the Internet
Making your Computer Accessible from the Public Internet
La vida loca
Similar Messages
-
Hi,
I'm having a problem in calling the Java Applet's Function from Visual Basic. First, I'm getting the handle of the Java Applet and components of it using "Document.Applets(n)" which is a HTML function. I'm calling this function from Visual Basic. My code is something like this...
' // Web1 is IE Browser in my Form.
Dim Ap,Comp
Dim Bol as Boolean
Bol = true
Ap = Web1.Document.Applets(0).getWindow() ' \\ Gets the Parent Window.
Ap.setTitle("My Java Applet") ' \\ Sets the Title of the window.
msgbox Ap.getVisibility() ' \\ This will return a Java boolean ( true or false )
Ap.setVisibility(Bol) ' \\ Function Syntax is : void setVisibility(boolean b)
Here in my code , i'm able to call any function that which accepts Integer or String but not boolean. So, i m facing problem with Ap.setVisibility() function. It gives me a "Type mismatch error" while executing it. Can you please tell me a way to do this from Visual Basic !
I'm using Visual Basic 6.0, Windows 2000 , J2SDK 1.4.2_05.
Please help me Friends.
Thanks and Regards,
Srinivas Annam.Hi
I am not sure about this solution. try this
Declare a variable as variant and store the boolean value in that variable and then use in ur method.
Post ur reply in this forum.
bye for now
sat -
Microsoft Forms and Microsoft Visual Basic while opening the Excel file
Hello,
I have issues with 2010 64 bit Office Pro Plus Excel. Whenever I open an Excel file (97-2003 worksheet) which has macros then I get below 2 errors in sequence.
Please note that all macro settings are enabled and below are my system configs.
Win 7 Ultimate 64 bit,
MS Office Pro Plus 2010 64 bit with SP2.
Googled all and tried but in vein and also note that I dont have any .exd files under ../forms to delete. Please help.
Please note that for others with same system config/office versions and same 97-2003 worksheet it works so issues is only in my system.
First Error
Microsoft Forms
Could not load an object because it is not available on this machine.
Second Error
Microsoft Visual Basic for Applications
Compile error in hidden module: MainUtilities2.
This error commonly occurs when code is incompatible with the version, platform, or architecture of this application. Click "Help" for information on how to correct this error.
Thanks.Your macro's will not run in a Office 64 environment only in a 32bit environment. The 64bit environment has a whole different setup and macro's created in an earlier 32 bit environment will stop working.
So if you want to use them in a 64 Office environment you have to rewrite the macro's.
have a look here:
http://msdn.microsoft.com/en-us/library/gg264421.aspx
Maurice -
Crystal Report 10 and Visual Basic 6 - logon failed in crystal report viewe
Guyz,.
Report viewer is showing logon failed, pelase help me, i can able to view the data from rs1(recorset).
please hellp me to fix this issue, i need to pass the sql query to my pre designed Crystal report which has all the field as same as SQL query.
Please suggest me if any other alternate way to do this , my code is below.
Environment : Crystal Report 10, Visual Basic 6
cr_preview -> CrystalActiveXReportViewer
RepName -> Fiename and path of the Crystal report is designed from Crystal Report Designer.
Function show_rep(Sql As String, RepName As String)
Dim crystal As CRAXDRT.Application
Dim report As New CRAXDRT.report
Dim rs1 As New ADODB.Recordset
If rs1.State Then rs1.Close
rs1.Open Sql, cn, adOpenStatic, adLockReadOnly
Set crystal = New CRAXDRT.Application
Set report = crystal.OpenReport(RepName)
report.DiscardSavedData
report.Database.SetDataSource rs1
'cr_preview.Refresh
cr_preview.ReportSource = report
cr_preview.Visible = True
cr_preview.ViewReport
Do While cr_preview.IsBusy
DoEvents
Loop
cr_preview.Zoom 100
If rs1.State Then rs1.Close
Set rs1 = Nothing
Set crystal = Nothing
Set report = Nothing
End FunctionHi,
Please refer to the link for the list of example, [click here|http://pscode.com/vb/scripts/BrowseCategoryOrSearchResults.asp?optSort=Alphabetical&lngWId=1&B1=QuickSearch&txtCriteria=crystalreport+10&blnWorldDropDownUsed=TRUE&txtMaxNumberOfEntriesPerPage=10&blnResetAllVariables=TRUE]
Regards,
Clint -
Error trying to open an Excel worksheet...getting Visual Basic MS Forms error
Hi
We have just upgraded a user from Office 2007 to 2013. However he is now unable to open an Excel spreadsheet and keeps getting Visual Basic errors
MS Forms error. “Could not load an object because it is not available on this machine.”
Acknowledge the error then..
MS VBA error “Compile error Can’t find project or library”.
On acknowledging and closing VB window the spreadsheet is available although VB is not running.
VBA Project (Microsoft Forms 2.0 Object Library). However we still received the same errors.
So we reinstalled Office 2013 to see if this would update the dll files. Alas the same error. Another user who works with VB said the FM20.dll files should be deleted and replaced with new ones. We acquired another FM20.dll file deleted the older one and
replaced it in the folder. Rebooted but still the same error.
He is using a 64bit Windows machine with Office 2013 click2run installed.
We have spent 6 hours today trying to fix it with no luck.....Please can you help??
Br
DanHi,
This is the forum to discuss questions and feedback for Microsoft Excel, this issue is more related to the Office develop, please post your question to the MSDN forum for Excel
http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Visual Basic express 2010 installation error on windows 7
Hello all! I'm new here and my problem is that I cannot install VB Express after upgrading windows 7 from Home premium to Ultimate. VB Express was moved to the windows.old folder along with other programs and refused to open (Application cannot start
error) so I figured the way to solve it was to re-install which worked for other programs with this issue. It wasn't available in the Add/Remove features either nor would its uninstall program remove the program so i manually deleted the folder.
I have tried many times to re-install Visual Basic but to no avail. It always displays Setup could not install the following components: Microsoft .Net which is first on the list and all other the components. Image here: http://www.mediafire.com/view/wzrh64ysojl6wxv/Error_page.png.
Here is my error log http://www.mediafire.com/view/yc9wb7dqyv561r7/dd_depcheck_VB_EXP_100.txt .I've used programs like CCleaner and VS Uninstall utility to remove traces of VB express for a fresh install but it didn't work either. I've also tried running the
setup in administrator mode, clearing the temp directory and disabling my antivirus software as recommended in other threads. Please help me fix this problem; I had an ongoing project before this happened. Thanks a ton!!Based on that image, it seems that you could not install .net 4.0, I would prefer uninstall .net 4.0 and reinstall .net 4.0 to test, if that still has this issue, then reinstalling that OS will be better choice.
remember make the reply as answer and vote the reply as helpful if it helps. -
How to install visual basic 6.0 in windows 8
Hi microsoft team,
I recently download the visual basic 6.0 in my windows 8 laptop. But it is not working properly in my system.
When i was run the visual basic program it will show "visual basic has stopped working window is checking solution for the problem"like this.
My program is not running. Please tell me the remedy for this kind of problem.
Thank youHello Vijayalakshmi,
First of all, please make sure that you run the installer with elevated permissions (run as an administrator).
Also please take a look at the
Install Visual Basic 6 in Windows 8 guide. It describes all the required steps for installing VB6:
1. Right click on setup.exe of your VB6 install and check Run as Administrator with XP SP 3 compatibility pack. I tried Windows 7 compatibility, it also worked.
2. During the setup, go to components and select everything you want to install except for "Data Access". If "Data Access" is selected, the install will hang even though everything will be installed. Disabling "Data Access"
ensures that the install completes and restarts your computer to finalize the install. Why this hangs the system is beyond me. LOL.
3. I am using a 64bit machine, this is not supported by Microsoft and will not be supported as VB6 is 32 bit and should be hosted in 32 bit system. Thus some controls in my system didn't work. I found my listview control didn't want to burge at all.
4. Download and install VB6 Service Pack (SP6) Runtime Extended (what??) from http://support.microsoft.com/kb/957924?wa=wsignin1.0
5. Now you can start vb6 ide and code, everything should be mnca!
6. Step 1 done, now to code and install my VB6 app in some WinXp, Vista and & 7 machine!!
crossing fingers
Finally, you may also find the
Visual Basic 6 on Windows 8 article helpful. -
How to install visual basic 6.0 to windows 8.1
plz help I want setup vb6.0 into win8.1
I lovw it vb6.0 and also win8.1Hello,
VB 6 is no longer supported by Microsoft. I’d suggest asking in one of the following third-party forums which support Visual Basic 6.
VB forums
VB City
For further information, see:
Where to post your VB 6 questions
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
How to detect if there is a USB Storage in my pc? VISUAL BASIC 6.0
Hi sir.
my program has a function auto back up. so i want to detect if there is a usb or not. if there's a usb then it will be save in the available usb storage. if there is no usb it wont save and will pop up a msg box saying "There is no USB device,
please insert USB to continue back up" VB6 platform
thank you sir.Hi NikkoProgrammer,
Welcome to MSDN.
I am afraid that as Renee Culver said, these forums donot support VB6, you could refer to this thread:
Where to post your VB 6 questions
You could consider posting this issue in these forums below:
These forums do not support Visual Basic 6, however there are many third-party support sites that do. If you have a VB6-related question please visit these popular forums:
VB Forums
VB City
Thanks for your understanding.
Best Regards,
Youjun Tang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
ActiveX privileges different in Labview than Visual Basic
Trying to make some ActiveX calls to a 3rd party app with LV 7.1. I am able to access many methods and properties, but one of the methods I call gives me a "insufficient user privileges" error from the app. Realizing y'all know nothing about what causes that error in the app, my question really is "If I write the exact same set of calls in Visual Basic, I don't get the error, why not?" What does LV do differently at that level? I have looked at the Dcom configuration manager and have set security to none on all apps, but again, since VB has no problem, it is unlikely that it would help, and sure enough, it did not. You may say, "ask the developers ", but none of then know how LV implements it's ActiveX so they say it is Labview's fault and of course NI will say it's an incomplete implementation of ActiveX. Any ideas?
thanksHi ET,
The behavior of your LabVIEW application is quite interesting since any
true copy of the ActiveX script from another programming language into
LabVIEW has always given the same results as with the text based
program. However, one thing that could be the difference it the
conversion of data types, especially when the Variant data type is
involved. To further troubleshoot what is going on, please submit a
simple example that shows the issue. I would prefer if you could submit
the Visual Basic code and the equivalent LabVIEW VI, thanks.
- Philip Courtois, Thinkbot Solutions -
Visual Studio Visual Basic 6.0 Professional - License
Hi,
As per the information available online, Visual Basic 6.0 is not supported by Microsoft.
Query: This product (Visual Basic 6.0 Professional) was being used with Windows XP and now as part of migration will be moved to Windows 7. Can you please confirm if we need license for this ?
Thanks !
Regards,
Sunny.Hello Sunny,
As you already see, VB 6.0 is not longer supported by Microsoft. And it is also not officially supported to be installed on Win 7.
If you installed it on Win 7, we cannot provide you any help if you meet any problem. Not to say the licenses. It will be better for you to choose a version of Visual Studio that is supported on Win 7, like Visual Studio 2008, Visual Studio 2010 and
so on.
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Visual Basic 6.0 Portable UAC?
Aloha,
II hhahavhavee received a copy of Microsoft Visual Basic 6 Portable. I noticed that the program has the UAC shield on it. What is going to happen that will change anything to the computer; if nothing, just what will it do?
Please note:
It is running on Windows 7.
Nothing in terms of Visual Studio has been installed other than VBA for Microsoft Office 2010.
Any help?Aloha,
II hhahavhavee received a copy of Microsoft Visual Basic 6 Portable. I noticed that the program has the UAC shield on it. What is going to happen that will change anything to the computer; if nothing, just what will it do?
Please note:
It is running on Windows 7.
Nothing in terms of Visual Studio has been installed other than VBA for Microsoft Office 2010.
Any help?
It should work very well, are you sure you have a good version of portable Visual Basic 6.0 ?
You should not have problems even so. I think the problem is in your Windows settings. Just disable the UAC ! :)
PS: the Visual Basic 6.0 IDE will also work on Windows 9 and up. -
Hi, I am getting a small application developed in visual basic 6.0, this application is taking screenshots and saving them in as gif images, but the size of the file is too big upto 2-3 mb which takes time to send them thru email in real time. please if
someone could help me, need code in VB 6,0 to make these files small so that they can be sent in real time thru email.... Or Need a code in VB 6.0 to automate snipping tools. Thanks SanjivHi, I am getting a small application developed in visual basic 6.0, this application is taking screenshots and saving them in as gif images, but the size of the file is too big upto 2-3 mb which takes time to send them thru email in real time. please
if someone could help me, need code in VB 6,0 to make these files small so that they can be sent in real time thru email.... Or Need a code in VB 6.0 to automate snipping tools. Thanks Sanjiv
VB6 programmers are gods of programming! You may be interested in the following Visual Basic 6.0 open source projects (surely you will solve the problem with these projects):
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=74904&lngWId=1
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=71666&lngWId=1
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=44137&lngWId=1
There are thousands of VB6 advanced codes for image compression (many of them contain new algorithms for compression), choose one :) -
Creating a DLL in Labview 8.6 and calling it from Visual Basic 6.0
Dear friends,
I need to create a DLL in Labview 8.6 and call it from Visual Basic 6.0. The system works as follows:
I made an application using Labview 8.6 + Vision Assistant 8.6 where I can obtain the x,y coordinates of a template in an certain image being captured by an USB camera. The template coordinates change every time it moves and Visual Basic 6.0 must read these x,y values in real time. I found some information in the link http://zone.ni.com/devzone/cda/tut/p/id/3925, but it works for version 6.x of Labview and 8.6 version is different. Am I in the right path? If you have an updated tutorial like the one in the link above but for Labview 8.6 It would be very nice. Please help me.
Kind regards.
João JúniorHello Osvaldo,
I analysed the updated tutorial you sent me, but the thing is that it doen't show how to create the DLL in LV 8.6 but only show how to accessing the DLL from VB6. My problem is really HOW TO CREATE THE DLL IN LV8.6. In the link http://zone.ni.com/devzone/cda/tut/p/id/3063 there is detailed information about how to do this in LV6.x, the problem is that I don't find the path Tools»Build Application or Shared Library (DLL) in LV8.6, I think the procedure in LV8.6 is a little bit different. Don´t you have an updated tutorial on how to build a dll in LV8.6?How could you help me?
Kind regards.
João Júnior -
32-bit Vista Home Premium - Explorer.exe visual basic library C++ runtime crash
Friends,
I have a weird Explorer.exe crash going on when attempting to use Windows Explorer to access my iTunes Movies folder.
Background: Running 32-bit Windows Vista Home Premium (SP2) on a Gateway GM5664 Desktop (2.3 GHz Quad-core AMD CPU with 3 Gb RAM). Firefox is primary browser.
All of the latest Vista updates suggested by the OS have been successfully installed (thru 8-14-09). McAfee and Dr. Web scanners have shown no malware issues as of yesterday. Latest Radeon Catalyst Video Drivers are installed. C: drive has been cleaned and defragmented using the Vista utilities.
Situation: I attemped to access the directory where my iTunes Video library lives using Windows Explorer. As Explorer is processing the files in the appropriate sub-directory, the system crashes with the following message:
"Runtime error in explorer.exe. The application has required the Runtime to terminate it in an unusual way. Please contact the application's support team
for more info." It indicates the nature of the error as something related to Visual Basic C++
I downloaded the freeware CCleaner registry cleaner, and it corrected numerous registry errors, however, the phenomenon still exists. When I downloaded
a commercial registry-fixing product (Quad Registry Cleaner), after doing a preliminary scan, it is indicating several more errors that the freeware version didn't pick up, the most common being empty registry keys. Since most commercial registry cleaners are snake oil, I am trying to identify other solutions to the problem.
Thanks in advance for your help!
- WallyI don't know the answer to this, but I wonder if there is a file in your movie folder that is upsetting Windows explorer when it attempts to preview it or display an icon.
As an off the wall suggestion try setting your folder view to the simplest possible thing, no preview and list view.
If you can't get into the problem folder, you can set this up in another folder and then go to folder options>>view where there is a button to apply the setting to all folders.
Maybe you are looking for
-
HP 2600n - Utility Gone After 10.5.1
I have an HP 2600n and a 3600n (at different office locations) - both Airport networked with 3 other Macs at their respective locations; all running 10.5.1 (except 1 G3 at 10.4.11). The quandary: Since 10.5.1, the 2600n no longer has a utility (activ
-
Embed html file without using IFrame UI
Is there any way to embed html file without using IFrame UI?
-
ABAP/Java Code to create ID configuration
Hi Experts , It is our project requirement that we need to create the mass ID Configs like ( Receiver determination / Interface determination) from the code (ABAP/JAVA)... I have seen on the SAP docs that there is some web services available to do th
-
Delete old application files after update?
I downloaded the 3.4.1 update and want to delete the 3.4 application files to free up more space on my laptop's hard drive. Is this OK? Also, what aboout deleting older versions of catalogs? Thanks.
-
Help me create a procedure to rename plenty of constraints
about 500 tables' constraints require to be renamed from SYS**** to the table's name. what procedure could you guys think of? If you've used a previous one please let me know, or if you know where I could download a package, procedure or something, s