Answer Questions
mmlodzik Redistribution
How does one redistribute PrintForm Are we limited to the provided installers Regards, - Mike Hi Mike, If you are referencing the PrintForm component in your application it should be automatically picked up and built into the .exe file using either ClickOnce deployment or Setup projects. Third-party setup tools should do the same thing; you would need to check with the pubvlisher to make sure. Hop this helps, Steve Hoag Hi - Sorry I didn't realize this thread took a new direction on the EULA for print form. You can find the EULA in the install directory for the component, e.g. C:\Program Files\Microsoft Visual Basic 2005 Power Packs\PrintForm 1.0\Setup\EULA.rtf The ot ...Show All
CHEN YU-TIEN VB.Net Designer Errors when loading
Hello All, I installed VS 2005 and when I run VB and create a new project, it errors when trying to load the designer for the form I'm trying to view. The error is this: Microsoft (R) Visual Basic Compiler has encountered a problem and needs to close. We are sorry for the inconvenience. This is becoming a pain in the backside! I can't even use it. Any help would be great. Thanks. jb What type of project are you tryng to load Web/Windows Regards, Moving to the Visual Basic forums. -Tom Meschter Software Dev, Visual C# IDE This is a known bug with VB.NET (actually known about before the release last year) along with many...many others.. The lastest set of VB hot ...Show All
omniGames Visual products disappear from stores
I was out shopping today and visiting my favorite software dealers. When I stopped by the MS displays I noticed that all the Visual studio products and a lot of the office products had disappeared from the displays. This was at Future Shop (Best Buy renamed for Canada), London Drugs, and a few other large retailers here in Canada. Any idea what's going on Have the disappeared from the shelves in the States too no - probably sold out! Its still available. Pop in and ask ;-) I did ask, they all said the vs products are no longer being stocked... possibly for their store but its definately available. It also costs quite a few bob to stock them/order them ...Show All
Ben Fidge INSTALLATION INSTRUCTIONS FOR HOT FIX 82BC09 ON WINDOWS
i have a problem when i like to print from the report viewer tool . when the vieuwer has loaded the report and i like to print ,.. then i have to klik the print button twice. before i get a print out from the report. is there some one who nows a solution for the problem. can you tell me where i can get the hotfix BEFORE DOWNLOADING: The hot fix 82BC09 addresses the issue(s) in Release 8.2 (TS2M0) of Base SAS software on Windows as documented in SAS Note(s): SN-004378 Detail data not subsetted correctly when class variable value has an "=" character SN-004379 Detail data may not be subsetted correctly after changing filter by ...Show All
PeterZ Key not valid for use in specified state.
My ability to add data connections or data sources recently left. I cannot view a dataset in designer in previously created projects. I cannot create a new data connection in a new project. I don't know what's going on. I tried repairing the current installation. Then I tried uninstalling and reinstalling. Neither worked. Has anyone seen this before Neal My datasets have recently disappeared from 3 related projects. And Dataset IS SELECTED in the .NET components on the ToolBox. Now all the apps throw the Key not valid for use in specified state error, and none of them will even allow me to choose a new data connection to add a new dataset. I'm using VS2005 Professional SP1 with VB.NET. ...Show All
MexRoc75 Weird arithmetic overflow
I have the following function Public Shared Function ReadUInt32( ByVal Array As Byte (), ByVal Index As Integer ) As UInt32 Dim A As UInt32 = CUInt ((0 Or Array(Index + 3)) << 24) Dim B As UInt32 = CUInt ((0 Or Array(Index + 2)) << 16) Dim C As UInt32 = CUInt ((0 Or Array(Index + 1)) << 8) Dim D As UInt32 = CUInt (0 Or Array(Index)) Return A Or B Or C Or D End Function The error occurs at Dim A As UInt32 = CUInt ((0 Or Array(Index + 3)) << 24) The 32 bit value of Array(Index) is &HFFFFFFFF. So Array(Index + 3) << 24 is 4278190080D But it gives an arithmetic overflow even though the value is less than UInt32. ...Show All
mikelandressi Invoke - trying to call a sub on a form from a separate thread
frmMain has called a background thread to do work, this thread creates other threads to do work. From these threads I want to update a textbox with status updates (text) from those threads. I have tried setting up a delegate and using Invoke to pass the text back to a sub on frmMain, but it doesn't work. I need help. Thanks I have underlines the lines of code that I have tried to make this work. Here is the exception I get in the Log Class when I run the code. Invoke or BeginInvoke cannot be called on a control until the window handle has been created. Imports System.Windows.Forms Public Class frmMain ' Copyright 2006 Perfection Software, Inc. Private BackgroundWork As New System.Compo ...Show All
Rocco Mastrangelo How to sort an array of structure based on th first value (date) ?
Hello I have a problem in sorting an structure of array my structure is defined as Structure Thirtymintextfile Dim Mdate As Date Dim MTime As Integer Dim Mopen As Single Dim MHigh As Single Dim MLow As Single Dim MClose As Single Dim Mvol As Integer Dim MAvgP As Single End Structure I have nearly 450 records in the array Now i need to sort it on date basis How to do that .Please help me .Its urgent Thanks in advance shail Or how about using a sorted list data collection rather than an array. http://msdn2.microsoft.com/en-us/library/system.collections.sortedlist.aspx This way you add items to the collection and have th ...Show All
BonnieB Newbie needs guidance on the next step past GUI--Importing Stock Data into App
I'm taking a VB class for financial analysts, and we're tasked with constructing a progrm we can use on the job. What I'm trying to do is build a VB program that will take Stock and Company information from certain sites on the Internet and extracting that information into the program to do some research on a company before investing. I have some grand plans, but based upon what I have read/heard I'm starting by taking stock information from two websites (Yahoo Finance and Reuters) and populate several different tabs in this program I'm making (exporting to an Access database and Excel are also in the works, but I'm taking baby steps). I built the GUI with 4 different tabs that will house Earnings data, Trading Information, Company News, ...Show All
Werner Clausen Visual Studio Is Busy?
Pentium IV - Northwood 3.5 Ghz - I Gb of Ram. XP SP2 .. all current patches applied. VS2005 RTM Team Suite On occasion while debugging the IDE becomes nonresponsive and I receive a Bubble message informing me that "Visual Studio is busy waiting for an internal operation to complete - If you receive this message often, please inform Micorosoft" After I receive this message the IDE never recovers. All I can do is to delete the process and restart it. Any idea what's occurring Aleksy.... It's been a week. I'm working on another piece of code. Also know that although I know where this has occurred, the project is reasonanly large, like on the order of 8000 lines. As soon as I complete the current ...Show All
Craig G My.Computer.FileSystem set file times
I would like to copy the file times from an existing file to a modified version using My.Computer.FileSystem method. Getting the information from the old file using My.Computer.FileSystem.GetFileInfo() is not a problem, only how to transfer it to the new file. The documentation states that how to set file properties is part of the documentation but I find nothing, only on how to get file properties. Can anybody help please Alternatively; How to marshall the structure required to use as a parameter in the GetFileTime and SetFileTime kernel32 functions when called from vb2005 I have that working just fine in VB6 but am not able to figure out how to get it working in vb2005 from the available documentation. Thanks. ...Show All
h goldstand Network FileWatcher
Hello, I have written a file watcher util that works well with my regular disk partitions. I am trying to now monitor a file on a mapped drive and i now get System.ArgumentException: The directory name X:\DiagFolder is invalid. at System.IO.FileSystemWatcher.set_Path(String value) Can anyone help me here please. Thanks MP michaelp, According to your problem, I noticed that the watched file in the path of X:\DiagFolder is related to IncludeSubdirectories. So I suggest you to set this value into true, like this: Dim MyWatcher As New System.IO.FileSystemWatcher() MyWatcher.IncludeSubdirectories = True ...Show All
SurajPeace Context 0x1b1dc8 is disconnected Error
Hi, i am using an com object to call a webcamera into my application. when i open the winodow for the com object and then press a button to save the image. i get the following error when i try to validate the license wih the ethernetcard address. "Context 0x1b1dc8 is disconnected. No proxy will be used to service the request on the COM component. This may cause corruption or data loss. To avoid this problem, please ensure that all contexts/apartments stay alive until the application is completely done with the untimeCallableWrappers that represent COM components that live inside them." what do i need to do to solve this error. My Project is Created in VB .NET. Thank you. Atheeque ...Show All
JNG from dgv to excel start on line 18
I'm able to print from dgv to excel with the following. Dim r As Integer Dim c As Integer For r = 0 To InvoiceDetailsDataGridView.Rows.Count - 1 For c = 0 To InvoiceDetailsDataGridView.Rows(r).Cells.Count - 1 Dim s As String = InvoiceDetailsDataGridView.Rows(r).Cells(c).Value xlsheet.Cells(r + 1, c + 1).Value = s Next But how can I get it to start in excel line 18 Dim r As Integer Dim c As Integer = 1 Dim rc As Integer = 18 For r = rc To InvoiceDetailsDataGridView.Rows.Count - 1 For c = 0 To InvoiceDetailsDataGridView.Rows(r).Cells.Count - 1 Dim s As String = InvoiceDetailsDataGridView ...Show All
Jane2006 Treeview - want icons on parent not both parent/child ??
In loading a treeview with db items I am assigning icons with a case stmt that works fine. The problem is the child records for each parent also get an icon (which they should not). How can I prevent the icon from appearing on child nodes 'load treeview ' Cursor.Current = New Cursor("MyWait.cur") TreeView1.Nodes.Clear() TreeView1.BeginUpdate() TreeView1.Nodes.Add(New TreeNode("My Stuff")) kk = kk + 1 'next For Each myRow In DSLib.Tables("entries").Rows keyStr = myRow("myKey") dateStr = myRow("mydate") wordsStr = myRow("keyWords") catStr = myRow("catalog") fileStr = myRow("fileType") ' PAREN ...Show All
