Visual Basic General Discussion
Re: How rreliable is the CLSID method of obtaining a file location?
Mayayana - 10 Jul 2010 3:57 AM - 8 messages
You've said in the past that you mainly work server-side. .Net server-side makes sense. By Windows software I mean "Desktop" software. You know that. Yet you repeatedly conflate the two. You talk about C# on iPhone, Ruby, Java. You ...
Drawing shapes and saving them
avi - 9 Jul 2010 5:10 PM - 4 messages
Hello, I'm looking for a way to draw or drop basic resizable shapes on a form that could be retrieved once the form is closed and loaded again Thanks Avi ...
NetUserGetInfo via Citrix returns ERROR_BAD_NETPATH
AlexML - 9 Jul 2010 1:00 PM - 3 messages
I'll try re-posting this.... When users execute our VB app via Citrix portal, NetUserGetInfo api fails with ERROR_BAD_NETPATH (err# 53 as defined in winerror.h) Does this have something to do with the ACL config on a Citrix server ?? ...
QNAN in vb6
Boris P. - 9 Jul 2010 12:24 PM - 8 messages
I am reading from a binary file and I fill an array of singles with the values. In my file I have several QNANs. Is there any equivalent of QNANs in VB6? I have to store in the array that that these values are QNAN, I cannot ...
Restore tray icon after Explorer restarts
Ed - 9 Jul 2010 5:56 AM - 3 messages
VB6 / Windows XP / Tray icon issue: If a user closes Explorer.exe (or they need to restart it because of an error) when Explorer restarts the tray icon for my program is no longer seen. Is there a windows message I can watch for so my app can re-add its tray icon when explorer is restarted? ...
Loading Excel via VB - Resize issue with over 255 characters in a
mgcap - 8 Jul 2010 2:08 PM - 12 messages
I am loading Excel with data and doing this in VB.net via SSIS. I am using a command such as: myWorkSheet.Range("A1").Resize(mydt2.Rows.Count, myColumnsCount).Value = myArray4 The Array is already dimensioned correctly - 2 dimensional. What I am seeing is that Resize is truncating any data that is over 255 ...
How rreliable is the CLSID method of obtaining a file location?
Tony Toews - 8 Jul 2010 2:48 AM - 48 messages
Folks I'm wanting to determine the version of various DAO, MSJet, ACE and ADO DLLs. One means of doing this is by using a CSIDL to get to C:\Program Files\Common Files\system\ado\msado15.dll (or close and then adding ...
problem emailing attachment with COD method
LBS - 7 Jul 2010 5:39 PM - 8 messages
Hello I am using the following code to email contents with attachments. There is no problem when I use an email "TO" that belong to the exchange server domain I am using. The problem exists when I try to email to an email ...
Creating an IE style Menu bar using a hybrid api ocx
Leo - 7 Jul 2010 1:55 PM - 4 messages
Is it possible to create an ie style Menu bar using a either a hybrid of api and common controls ocx or pure api? here is the code I have tried to use: You will need one common controls 5 ToolBar on the form. ...
count colors in bitmap
charles - 7 Jul 2010 10:03 AM - 37 messages
Hi Is there a way that I can quickly count the number of unique colors in a bitmap using VB6? I have found some examples on the web which seem to work fine but they are all quite slow, taking about two seconds to ...
Eric - 7 Jul 2010 9:38 AM - 7 messages
Hi, For my applications I use the following class: Imports System.Security.Cryptography Imports System.IO Imports System.Text 'SymmCrypto is a wrapper of System.Security.Cryptography.SymmetricAlgorithm classes 'and simplifies the interface. It supports customized SymmetricAlgorithm as well. 'Original Code from Frank Fang ...
find all files with named extn on all drives
LondonLad - 6 Jul 2010 2:44 PM - 15 messages
Hi Finding all files with named extn on a single drive I have no problems with , but can someone give me a link to helpful code so I can find all files with named extn on all drives on my computer. ...
VBA code to go to a bookmarked drop down goes to wrong drop down
johnnykunst - 6 Jul 2010 7:06 AM - 2 messages
I am using vba code to perfprm a variety of tasks; the code is working fine, except, the last action before re protecting the form is to go to a specific bookmarked drop down 'byelaw1' but it goes to 'byelaw2' instead: Sub Onexitclassification() If ActiveDocument.FormFields("pclassificationDD").Result = "CASB(B)/ Offences against park byelaws" Then ActiveDocument.FormFields("Classificationtext").Result = "(In accordance with the LBS 'Byelaws for Pleasure Grounds, Public Walks and Open Spaces' November 2008)" ActiveDocument.Unprotect Selection.GoTo What:=wdGoToBookmark, Name:="byelawsection" With ActiveDocument.Bookmarks .DefaultSorting = wdSortByName .ShowHidden = False End With With Selection.Font .Name = "Arial" .Size = 10 .Bold = False .Italic = False .Underline = wdUnderlineNone .UnderlineColor = wdColorAutomatic .StrikeThrough = False .DoubleStrikeThrough = False .Outline = False .Emboss = False .Shadow = False .Hidden = False .SmallCaps = False .AllCaps = False .Color = wdColorAutomatic .Engrave = False .Superscript = False .Subscript = False .Spacing = 0 .Scaling = 100 .Position = 0 .Kerning = 0 .Animation = wdAnimationNone Selection.GoTo What:=wdGoToBookmark, Name:="byelaw1" With ActiveDocument.Bookmarks .DefaultSorting = wdSortByName .ShowHidden = False End With ActiveDocument.Protect wdAllowOnlyFormFields, NoReset End With End If End Sub I've tried to work out the problem by elimination and have stripped the code right down to: Sub Onexitclassification () Selection.GoTo What:=wdGoToBookmark, Name:="byelaw1" End Sub The same problem happens. This is even with all other macro's in the form deleted, and all other bookmarks deleted, and I've even tried giving the drop downs & macro new names! The macro is an 'on exit' macro run from another form drop down. Any help would be greatly appreciated ...
How to get the Device Instance Path
Gary - 6 Jul 2010 12:55 AM - 3 messages
With using VB6, does anyone know how to get the device instance path if you know the device name (or any other way)? This is for a USB device. The device instance path can be seen in the details tab for the properties ...
Re: Happy Sabbath!
RW - 5 Jul 2010 6:13 PM - 2 messages
Ah, but you conveniently dropped the part of your statement that is the heart of the debate: See the difference? Your assertion of "that's it" is where you left the area of "truth" and wandered into the realm of opinion, or more to ...
How to view a DLL property page in VB6?
Gary - 5 Jul 2010 4:18 PM - 2 messages
I have a communication device who's drivers have installed it as a comport device in device manager (which it should). When you view the properties of the comport device (double click the device as it is listed in device ...
OT - 10 years of .Net
Mayayana - 5 Jul 2010 2:50 PM - 2 messages
[link] Very interesting article at the Register today. It's about the history of .Net, but also sheds light on Microsoft's general path over the past 10 years, as they've tried to chase the future ...
any value of Cells in a Range of VB Spreadsheet control changed in
sunlite - 5 Jul 2010 10:47 AM - 4 messages
How to know whether any value of Cells in a Range of VB Spreadsheet control were changed after they were saved last time in VB6? the Dirty property can tell any changes after they were saved last time,even a cell was got focused or the spreadsheet is resized. ...
[OT] MS axed the VB.Nxt group todayNext » 2 3 4 5 6 7 8 9 10
Nobody - 4 Jul 2010 9:03 PM - 2 messages
news://msnews.microsoft.com/microsoft.public.dotnet.languages.vb 411 no such newsgroup Configuration: Account: msnews.microsoft.com Server: msnews.microsoft.com Protocol: NNTP Port: 119 Secure(SSL): 0 Error Number: 411 ...