vb

Alternatives for accurately representing Visual Basic Decimal variables in C++

I am currently working on a program that takes Visual Basic data in the form of a text file, and then stores this data in C++. Some of the data from Visual Basic is of the type Decimal. C++ has no built in type equivalent to decimal. I don't want to use double because there is a possible loss of significant figures if the numbers are ...

How to write server applications in ASP.NET and Visual Basic?

Hello all, I am looking into writing a web-based vehicle tracking system. The framework I have in mind looks something like this: Client application --- Database --- Database updater. Client application: This would query the database for information and then display this information on a map. Database: holds vehicle information such ...

Compiling issue on a reference to @Transactional(readOnly = false, propagation = Propagation.REQUIRES_NEW)

Hello I have a java impl class that implements a Dao object.I am trying to annotate @ Transactional on one of the properties .. but i am running into compile time issues at the annotation reference.. what import am i missing. /** * Saves person. */ @Transactional(readOnly = false, propagation = Propagation.REQUIRES_NEW) ...

MS Access 2003 - Is there a way to programmatically define the data for a chart?

So I have some VBA for taking charts built with the Form's Chart Wizard, and automatically inserting it into PowerPoint Presentation slides. I use those chart-forms as sub forms within a larger forms that has parameters the user can select to determine what is on the chart. The idea is that the user can determine the parameter, build the...

How can I send an e-mail from a vbs script

How can I send an e-mail from a vbs script - on a machine that cannot connect to the internet (it's in my non-internet zone). I've hacked the following together from my googling, but is seems to require a call to Microsoft's server. What about the situation where I'm not able to reach microsoft.com? sch = "http://schemas.microsoft.com/...

Active X Development: VC++ or VB or Other technologies

We are in the process of creating active-x controls used within our application. Since Microsoft stopped supporting classic Visual Basic, is it wise to use Visual Basic to develop the Active X control or the latest VC++/ATL/MFC libraries provide more feature where we can create controls faster by leaving Visual Basic flexibility? We w...

How do I convert a type to a string that can be compiled in vb .net?

I need a function that will convert a type to a string, for example: Dim foo as Dictionary(of Dictionary(of Integer, String), Integer) Debug.WriteLine(TypeToString(GetType(foo))) In the debug output, I'd expect to see something equivalent to: Dictionary(of Dictionary(of Integer, String), Integer) ...

VB Byval I don't need it.

I don't need this declaration because it only makes my code big and unreadable. Is there a way to make Visual Studio (VS) not add it automatically. Every time I remove it, it is added back by VS. Function DoStuff(Tom As String) NOT Function DoStuff(ByVal Tom As String) ...

Sending email with SSL in VB6

How to send emails in Visual Basic 6 with SSL option enabled? ...

(New Object()).Method() in VB.net

Apparently this does not work. WHY ??????? I don't want to do all this just to call my function: Dim x as new Object() x.Method() WHY do I have to do this in 2 lines when I can in one. This is really pissing me off. ...

MS Access 2003 - Unbound Form uses INSERT statement to save to table; what about subforms?

So I have an unbound form that I use to save data to a table on button click. Is there a way I can have subforms for entry that will allow me to save data to the table within that same button click? Basically I want to add more entry options for the user, and while I know other ways to do it, I am particularly curious about doing it thi...

can we use css in a vb application

can we use css in a vb application to give some enhancement ? like font color and background ? or any other way to customize a (VB)desktop application ?? ...

how to open .d01 foxpro file

hey all, I am building a basic POS app for my cousin's pharmacy store so that he can dump the software he is currently using and save on license cost.All the medicines name which he has painfully entered into the software have been stored in a file with .d01 extension. What i want is a way to read the contents of the .d01 file programmat...

InvokeMember using GetField. Field not found in VB.NET

This is probably a simple one but I can't seem to figure it out. I have a bunch of form items created by the form designer declared as (in frmAquRun.Designer.vb) Public WithEvents btnAquRunEvent1 As VisibiltyButtonLib.VisibilityButton Public WithEvents btnAquRunEvent2 As VisibiltyButtonLib.VisibilityButton ... etc And I basically wa...

Printing Photos using VB6 and/or .NET

Does anyone have any code suggestions or samples for printing photos (BMP or TIFF or JPEG), using Visual Basic or .NET framework? ...

How to diagnose "the operation has timed out" HttpException

I am calling 5 external servers to retrieve XML-based data for each request for a particular webpage on my IIS 6 server. Present volume is between 3-5 incoming requests per second, meaning 15-20 outgoing requests per second. 99% of the outgoing requests from my server (the client) to the external servers (the server) work OK but about 1...

How to correct 404 error with post

System.Net.WebException: The remote server returned an error: (404) Not Found I have three website. also have a method called post. When I post a form to siteB from siteA. the method post working perfect. When I post from siteA to siteC with same method, it give me an error System.Net.WebException: The remote server returned an error: (4...

How do I get VB6 to integrate with Visual Source Safe 6.0?

We use Visual Source Safe 6.0 at work and VB6 is supposed to integrate smoothly with Source Safe. Both applications are installed on my PC, but VB6 is not showing the options to integrate with Source Safe (e.g. checking out a file, seeing if a file is shared, etc.). What do I need to do to get VB6 to integrate with Source Safe 6.0? ...

audio recording problem

hi I am recording an audio and storing to the application's folder. But it's not working on production server. I am using Microsoft.visualbasic.devices namespace. (www.codeproject.com/Messages/3398947/Re-How-to-Save-the-voice-record-file-in-the-client.aspx) through this code I am recording audios and listening locally but I am unable to...

How to set head tags in a function in app_code?

The below function has to be put within my common functions file in app_code folder. how do I do it? It gives error like this: Reference to a non-shared member requires an object reference Public Sub setHeadTags(ByVal title As String, ByVal description As String, ByVal keywords As String) Dim metaDescription As HtmlMeta = DirectCas...