Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Error Using "Package && Deployment Wizard" Error 28


Hi everybody

I have a big problem. When i try to create a setup program with the PDW, i fill every form then i push on the finish button. I receive an error message saying that : "Error 28 : Out of stack space" .

On an other forum (support.microsoft.com, dbforum.com,crystal decision) have to change some line in the file crystl32.dep (there is Crystal Report module in my project), but on my computer, this file doesn't exist.

Can someone help me to find a solution?

Waiting for your mail.

Thanks

Chris




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
An Error Occur During "Package And Deployment Wizard" Loading
When i load "Package and Deployment Wizard", it works fine. But at the almost end an error occur:" 'C:.....msftqws.pdw$(DLLSelfRegisterEx)' could not be registed because it was not found" then the wizard delete everything it just setuped.


I wonder if i need to change something in Autoexec.bat???

Thanks any way.


Kevin

Help! "Package && Deployment Wizard" Error!
Whenever I run the SETUP.EXE create by the Package & Deployment Wizard I get a Invalid line in Seup Installation File (or something of that nature). I'm just trying to trying to include a text file which stores user settings. If you ANY idea, please SUGGEST!

Package And Deployment Wizard: "Support" Directory.
I want to know that when "Package and Deployment Wizard" creates a Setup, with one or more CAB files, it includes a subfolder called "Support".

Is it necessary to send this folder also when sending the installed (SETUP) to any client? Or, is it an emergency folder?

Short "Package And Deployment Wizard" Question
If the "Package and Deplyment Wizard" isn't showing in the "Add-In Manager" how do i get it there?
(I'm tired... I don't want to read the MSDN... ;-) )

Package And Deployment Wizard Error
Hello every body,

Please help me out
I am getting this error while packaging my application.

Unexpected error number 800010108 has occured : Automation error
The object invoked has disconnected from its clients.

My application uses VB, Sql Server, Crystal Reports, Ado where and what could be the problem please advice .

Thanks in advance

Error In Package Deployment Wizard
When I run the Package Deployment Wiz, I get error 380 on the included files screen when I hit next. The exact msg is " Unexpected error number 380 has occurred: Invalid property value." I've tried unchecking files and the attribute settings for these files. Can anybody point me in the right direction?

Error - Package && Deployment Wizard
Hi there. I am using Package & Deployment Wizard fair enough and I never had any problems. However now I have one !!!

When I am trying to "Package" my project after a few seconds I am getting this error "RAD Host Wizard: Out Of Memory", and after pressing 10-12 times the OK I am getting this message:

"Unexpected error number 372 has occured: Failed to load control 'uSummaryStep' from . Your version of may be outdated. Make sure you are using the version of the control that was provided with your application".

I really don't get. Which control is that?! What's happening??

I would be grateful for any help you can provide.

Package And Deployment Wizard: Error 380
I am trying to write a COM AddIn for outlook. I could publish the .dll on my developemnt machine.

When I try to create a setup program with the "Package and Deployment Wizard", however, a error pop up after I click the package button.

The error is:

"Unexpected error number 380 has occured: Invalid property value"

I think my code is correct though this is my first time using VB (as it can be published and running fine on the outlook of my machine).

Does anyone tried this error before and know how to get around this?
Please let me know if you do as I am already behind schedule......

Thanks a lot!

Seve

Package/deployment Wizard Error
getting AUTOMATION error 80004005, unspecified error

my program has gotten bigger, but it worked just last week...

what the deally yo?

Package And Deployment Wizard Error
Hello

I was trying to create a package using the Package and Deployment Wizard and i am getting the error

Unexpected error number 80004005 has occurred: Automation error
Unspecified error"


can you guys tell me what am i doing wrong?

Error With Package && Deployment Wizard
I have been getting the following error when trying to build a package (from a VB Project) using the Visual Studio Package & Deployment Wizard.

"Unexpected error: ActiveX component cannot create object"

I have tried building a package with a very small project too.Also I have tried re-installing Visual Studio.
But the error persists. Has anyone encountered this problem before?
Thanks.

Package && Deployment Wizard Error 429
Hi,

I've tried creating a package for my project using the Package & Deployment Wizard, but i get the following error:

"unexpected error number 429 has occured: activex component can't create object"

how can i fix it?

thanks in advance

Help With Error In Package And Deployment Wizard
Hello all, I am having trouble in the Package and Deployment Wizard. Each
time I run it I get the same error message "Unexpected error number 80010108
has occurred: Automation error The object invoked has disconnected from its
clients"

Any and all help will be greatly appreciated! I had my coder write the
functioning program and I had to install an OCX in the code which works and
compiles but I cant get the P&D Wizard to do the final task!

Ron B

Package And Deployment Wizard Error
During the compile part of the package and deploymnet wizard, I received the following error:

"Unexpected error number 80004005 has occurred. Automation error"

Does anyone know what can cause this error?


Thanks

Geod

 

Error 380 While Using Package && Deployment Wizard
I have implemented a VB6 program and have finished testing by making EXE executable file. But when I trying to deploy the program by using the 'Package and Deployment Wizard' of the Visual Studio, I got an error of "Unexpected error number 380 has occurred: Invalid property value". Why??

Package And Deployment Wizard Error
The visual basic aplication i have build uses Crystal reports.
When i run de 'Package and deployment wizard', i have an error:
Unexpected error number 28: Out of stack space !
When i remove 'crpe32.dll and Crystl32.ocx' from the list there is no error.
Of course that is a problem!
Help me please!
Thank you.


 

Error In Package And Deployment Wizard (Urgent)
I'm trying to make a package for a project that has a crystal report component but it gives this error

unexpected error number 28 has occurred: out of stack space

i remember the problem is with the file of the crystal report i think is with *.dep but i forget the solution so

please any one can help me

pleaaaaaaaaaaaaaaseeeeeeeeeeeee

UNEXPECT ERROR DURING PACKAGE && DEPLOYMENT WIZARD
Hi,
I got a message "UNPECT ERROR NUMBER 380 HAS OCCURED: INVALID PROPERTY VALUE" during Package from the PACKAGE & DEPLOYMENT WIZARD. Any one know what is the message mean or how to find where is the error occured. The program run find without error. Thanks

Solution> Error: """"&&H8007007E (-2147024770) The Specified Module Cannot Be Found"""
Hello

This is the error what i am getting after installing a package of one of my module on user testing machine.
The same module being working fine on others.


What can be the reason for this and what can be the probable solution for this?

Sandeep

Package Deployment Wizard Load Error Problems
I Keep getting error loading DLL when trying to activate the Package Deployment Wizard.

Any One Have an Idea as to the problem and a resolution to solve the problem.

I VB6 Sp5 Loaded

Don

File Access Error In Package && Deployment Wizard.
hi,

I am using VB6. While i do the setup(Package& deployment wizard) I am getting an error like "Access vilation occured while copying the file MFC42.dll".If i ignore this error and go futher i am getting two more error with the same message for files MSVCRT.dll and EXPSRV.dll.Could u please suggest me how to rectify these errors?

Urgent! Unexpected Error In Package And Deployment Wizard
Hi,

I've installed VB into my notebook running on Windows XP.

When I used the Package and Deployment Wizard, an error message, "Unexpected error number 380 has occurred: Invalid property value", prompted up.
There's no indication saying my code fail, so is something goes wrong during installation? But I've re-install many times already.

My software was fully checked in my PC, under Windows 2000, and no problem when packaging.

Can anyone help?
Thanks in advance!

File Access Error In Package & Deployment Wizard.
hi,

I am using VB6. I have completed the setup for my project successfully by using Package & deployment wizard. When i try to install my project in customer's system by clicking setup.exe I am getting an error like "Access vilation occured while copying the file MFC42.dll".If i ignore this error and go futher i am getting two more error with the same message for files MSVCRT.dll and EXPSRV.dll.Could u please suggest me how to rectify these errors?

Running "Update"-Batch From Package-And-Deployment Wizzard
Hi,

I need my application to be able to create the installer that comes from the Package-And-Deployment Wizzard.
For that purpose I copied the complete output of that wizzard into a subdirectory of the application.
--> The folder now contains "setup.exe", "setup.lst" and "DBChecker.cab". Futhermore there is a subfolder (I think named support) which includes a makecab.exe etc. to update/re-compile the cab-file and all the files required for that cab-file.
Finally there is a DBChecker.bat with the following content:
@echo off
ECHO Diese Stapelverarbeitungsdatei zum Erstellen einer neuen CAB-Datei verwenden. Drücken Sie STRG-C um abzubrechen.
pause
MAKECAB.EXE /f "DBChecker.DDF"

Now what happens is, if I run the batch-file manually it creates the DBChecker.cab in the parent directory.
But using the following code in my application:
retval = Shell(pathvar & "DBChecker.bat")
I see a DOS-Box I see the prompt from that "Pause"-command but immediately thereafter the box closes and I don't get a cab-file.

Is it possible that the Application-Path makes for some kind of trouble there or does anybody have an idea what the problem could be?

Thanks a lot !

Rouven

Create Package Error; "Unexpected Error Number 380 Has Occured;invalid Property Value
Hi all,

I try to create a package in visual basic; However, I found the following error. "Unexpected error number380 has occured; Invalid property value". My development environment ,
OS: Win2000
VB: Visual Basic 6.0

Thanks a lot .

Regards,
Edward Hui

A Stupid Problem: "Error Accessing The System Registry" ("Solved") Thank You
This is a very silly problem. I tried to have a look of References from Project dropdown menu, it returned a critical error:

"Error Accessing the system registry".

I reinstalled VB6 but it seems that the problem still exists. Anybody please tell me how to solve the problem.

thanks in advance





Edited by - kenyiwei on 5/6/2004 2:07:51 AM

EnumWindows AddressOf EnumWindowsProc, 0 "Syntax Error"</title> <script Type="text/javascript"> <!-- Function PrintTags() { Var Curr=document.getElementById('vB_Editor_QR_textarea').value;
I get "Syntax Error" when i put this code in to a button. Whats wrong?

EnumWindows AddressOf EnumWindowsProc, 0


______________________________________________________________________
Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long
Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long
Declare Function EnumWindows Lib "user32.dll" (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long

Public Function EnumWindowsProc(ByVal hwnd As Long, ByVal lParam As Long) As Long
Dim Length As Long
Dim sName As String
Dim Temp As String
Static iCount As Integer

iCount = iCount + 1
Length = GetWindowTextLength(hwnd) + 1

If Length > 1 Then
sName = Space(Length)
GetWindowText hwnd, sName, Length
If Left(sName, Length - 1) Like "Order*" Then MsgBox "window found!"
End If

EnumWindowsProc = 1
End Function

"Type Mismatch"/"Invalid Qualifier" Error
Hi all

Am just using VB6 for the first time. Am connecting to a SQL Server 2000 database. What i am trying to do is simple select a single cell from the database into a string variable and then hold onto that variable for as long as i need it. The problem is that when i go to put the value into the variable i get a "Type Mismatch" error or an "Invalid Qualifier" error

The global variable that i am using:
Dim conn as new ADODB.Connection
Dim cmd as new ADODB.Command
Dim tempString as String

The connection string that i am using is:
conn.open "UID=;pwd=;Database=Marts;" & _
"Server=localhost;Driver={SQL Server};

The statement that i am executing is:
cmd.ActiveConnection = conn
cmd.commandType = adCmdText
cmd.commandText = "Select ColumnA from TableA where ColumnB = 'ABC'"
tempString = cmd.Execute

Vista Error: "program Is Not Working" And App "has Run Out Of Time"
Client is running my vb6 app on Vista (in XP compatibility mode), and is getting an error that indicates the app "has run out of time and shuts the program down" (her words). This happens in a very specific section of the pgm that no xp machines report errors in.

Separately, on (attempted) startup, she gets the message that the app "has stopped working, where Windows will close the program and notify me later if a solution is available." But the solution is "as easy as allowing the program to close then re-opening it back up"

Help!?

OPENING VISUAL BASIC 6.0 ERROR, DAO350.DLL, "Unexpected Error; Quitting"
Hi,

I could really use some help. I am not the most knowledgable and would appreciate any guidance... I did a web search already at some sites including Microsoft, but I have not found a soultion yet.

Problem: CANNOT OPEN VISUAL BASIC 6.0; Says "Unexpected error; quitting"
Machine/Software:
OS: XP Media Center (although system info says XP Professional 5.1.2600 Service Pack2 Build 2600)
PC: Acer AspireE36
SW:Microsoft Visual Studio 6.0 Enterprise Edition

History:
1. Could not open visual basic 6.0. I got the an error that the DAO350.DLL could not be found.

2. So following some suggestions from the web:
a) Renamed old DAO350.DLL as DAO350.DLLOLD
b) I took this file from Visual Studio Disk 1 and copied it into the
C:Program FilesCommon FilesMicrosoft SharedDAO
c) Regsvr32 "C:Program FilesCommon FilesMicrosoft SharedDAODAO350.DLL"
d) Then I got a successful message that it registered
e) It did not work. When I tried to open the visual basic 6.0 now I get:
"Unexpected error; quitting" message.

WHAT DO I DO PLEASE?

I even loaded the component checker 2.0 as suggest via microsoft website to look up the Microsoft Data Access Components (MDAC).
(see Article ID: 304230 and 301202 on http://support.microsoft.com/kb/304230 and htpp://support.microsoft.com/default.aspx?kbid=301202))

It says MDAC 2.8 SP1 ON WINDOWS XP SP2. I am not sure what this MDAC does for me, but I looked at it anyways.

"Run-time Error 424 - Object Required" Error When Upgrading A Activex Control
When I compile (upgrade) a activex control the program using it gives an error saying "Run-time error '424' - Object Required". If you delete the object from the vbp file and reopens the program and add the component again it'll work just fine.. But as soon as I try to upgrade this error will occur when trying to see the form of the new project using the upgraded activex control. The upgrade procedure seems to work fine though and the error occurs, as I said, only when I try to see the form of the project.

"Run-Time Error '28':" "Out Of Stack Space"
Ok, I know the cause of this issue is one sub calling another, repeaditly. It runs about 3400 loops before crashing, but is not infinite. I was wondering if anyone knew a way to clear the stack during it's run.

Datagrid Runtime Error "6160"Data Access Error
hi,please help,when i click a the datagrid have this error message come out.
runtime error "6160"Data Access Error.

this is the current code:

Code:
Private Sub Form_Load()
Dim rs1 As ADODB.Recordset
Dim rs2 As ADODB.Recordset
Dim rs3 As ADODB.Recordset
Dim UserId As String


'sql query login user department
Set m_rs = OpenRecordset("select * from [Temp]" & vbCrLf & _
"where ([Department] in (" & vbCrLf & _
" select [DepartmentName] from [Department]" & vbCrLf & _
" where [Id] in (" & vbCrLf & _
" select [DepartmentID] from [UserDepartment]" & vbCrLf & _
" where [UserId] = '" & gUserId & "'" & vbCrLf & _
" ))" & vbCrLf & _
") or exists(SELECT * FROM UserRoles WHERE [UserId] = " & gUserId & _
" and [RoleId] in (select [Id] from [Roles] where [RoleName] in ('admin','guest')))" & _
"", adOpenStatic, adLockOptimistic)


Set DataGrid1.DataSource = m_rs
Debug.Print "Connection Object Created"


lpPrevWndProc = SetWindowLong(DataGrid1.hWnd, GWL_WNDPROC, AddressOf WndProc)
End Sub

Private Sub DataGrid1_Click()
txtempname.Text = DataGrid1.Columns(1)
txtempno.Text = DataGrid1.Columns(2)
txtdesignation.Text = DataGrid1.Columns(3)
txtdepartment.Text = DataGrid1.Columns(4)
txtDateOt.Text = DataGrid1.Columns(5)
txttimefrom.Text = DataGrid1.Columns(7)
txttimeto.Text = DataGrid1.Columns(8)
txtwork.Text = DataGrid1.Columns(12)
txtworkdetail.Text = DataGrid1.Columns(13)

End Sub

thanks for help!

Error In Running A Screen Saver "Run-time Error '6' Overflow"
Im running the program screen saver but i receiving this error its says Run-time error '6' Overflow i hope anyone could fix this thanks ...

VB Code:
Private Sub Form_Load()Dim res   'I made this array to translate name of day to Indonesia   'language. You can change this array elemen to your   'country language. Start from Sunday...   aHari = Array("Sunday", "Monday", "Tuesday", "Wednesday", _                "Thursday", "Friday", "Saturday")   sHari = aHari(Abs(Weekday(Date) - 1))   frmMain.Caption = "LOGIN PROGRAM Versi 1.0"   frmMain.Timer1.Enabled = False   Timer1.Enabled = True   DoEvents   Label1.Caption = "" & sHari & ", " _                   & Format(Date, "mmmm dd yyyy")   Label2.Caption = Format(Time, "hh:mm:ss")   DoEvents   App.HelpFile = ""   res = SetWindowPos(frmScreenSaver.hWnd, _                      HWND_TOPMOST, 0, 0, 0, 0, _                      flags)End Sub


But its only highlightened at


VB Code:
App.HelpFile = ""res = SetWindowPos(frmScreenSaver.hWnd, _                      HWND_TOPMOST, 0, 0, 0, 0, _                      flags)

Any Ideas Why This Brings Up A "Compile Error- Argument Not Optional" Error?
Any ideas why this brings up a "Compile error- Argument not optional" error?

The Declares are:
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function GetClassName Lib "user32" Alias "GetClassNameA" (ByVal hWnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long
Private Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hWnd As Long, ByVal lpString As String) As Long
Private Declare Function BringWindowToTop Lib "user32" (ByVal hWnd As Long) As Long
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long

Private Const WM_SETTEXT = &HC


Problem code:

Private Sub Command3_Click()
Call PutTextIntoNotepad
End Sub

Private Sub PutTextIntoNotepad(hWnd As Long)

'This adds text to notepad, by locating its
''Edit' class window. This is similar to the
'method used to locate the hwnd itself, but
'here we know the parent (hWnd) so only
'have to search its child windows.

Dim hWndChild As Long
Dim sMsg As String
Dim sBuffer As String * 32
Dim nSize As Long

'this string is split only to fit the browser window
sMsg = "This method demonstrates using SendMessage()"


'get the first child window in Notepad
hWndChild = GetWindow(hWnd, GW_CHILD)

'hwndchild will = 0 when no more child windows are found
Do While hWndChild &lt;&gt; 0

'get the Class Name of the window
nSize = GetClassName(hWndChild, sBuffer, 32)

'if nSize &gt; 0, it contains the length
'of the class name retrieved
If nSize Then

'if the class name is "Edit",
'set some text and exit
If Left$(sBuffer, nSize) = "Edit" Then

Call SendMessage(hWndChild, WM_SETTEXT, 0&, ByVal sMsg)
Exit Sub

End If

End If

'not found, so get the next hwnd
hWndChild = GetWindow(hWndChild, GW_HWNDNEXT)

Loop

End Sub


Thanks for the help, guys!
Daniel Christie

Datagrid Runtime Error "6160"Data Access Error
hi,please help,when i click a the datagrid have this error message come out.
runtime error "6160"Data Access Error.

this is the current code:
Code: Private Sub Form_Load()
    Dim rs1 As ADODB.Recordset
    Dim rs2 As ADODB.Recordset
    Dim rs3 As ADODB.Recordset
    Dim UserId As String
 
   
    'sql query login user department
    Set m_rs = OpenRecordset("select * from [Temp]" & vbCrLf & _
                            "where ([Department] in (" & vbCrLf & _
                            " select [DepartmentName] from [Department]" & vbCrLf & _
                            " where [Id] in (" & vbCrLf & _
                            " select [DepartmentID] from [UserDepartment]" & vbCrLf & _
                            " where [UserId] = '" & gUserId & "'" & vbCrLf & _
                            " ))" & vbCrLf & _
                            ") or exists(SELECT * FROM UserRoles WHERE [UserId] = " & gUserId & _
                            " and [RoleId] in (select [Id] from [Roles] where [RoleName] in ('admin','guest')))" & _
                            "", adOpenStatic, adLockOptimistic)
        
    
    Set DataGrid1.DataSource = m_rs
    Debug.Print "Connection Object Created"
    

lpPrevWndProc = SetWindowLong(DataGrid1.hWnd, GWL_WNDPROC, AddressOf WndProc)
End Sub

Private Sub DataGrid1_Click()
   txtempname.Text = DataGrid1.Columns(1)
    txtempno.Text = DataGrid1.Columns(2)
    txtdesignation.Text = DataGrid1.Columns(3)
    txtdepartment.Text = DataGrid1.Columns(4)
    txtDateOt.Text = DataGrid1.Columns(5)
    txttimefrom.Text = DataGrid1.Columns(7)
    txttimeto.Text = DataGrid1.Columns(8)
    txtwork.Text = DataGrid1.Columns(12)
    txtworkdetail.Text = DataGrid1.Columns(13)
    
End Sub

thanks for help!

"On Error GoTo DoSomething_Error" Returns Error 0.. What Is Error 0??
Hello, I have a try/catch function is always is cought with an error0... What is an Error 0?

here is my code:


Code:
Private Sub ProcessCreditCard_Timer()
Dim CCstatus As String
Dim racAuthCard As Variant
Set racAuthCard = CreateObject("RACAuthcreditcard.Authcreditcard")

racAuthCard.transactionKey = "asdfasdfasfffff"
racAuthCard.login = "asfdsad"
racAuthCard.transactionType = "AUTH_CAPTURE"

Question = "Processing Credit Card Now. Please Standby."
On Error GoTo DoSomething_Error

CCstatus = racAuthCard.Authcreditcard(Total, CCnumber, ExpMonth, ExpYear, CCFirstName, CCLastName)
ProcessCreditCard.Enabled = False

If CCstatus = "This transaction has been approved." Then
Question = "Credit card transaction approved. One moment."
CCnumber = Right(CCnumber, 4)
Paidby = "Credit Card"
Call Thankyou
ElseIf CCstatus = "Problem! reason: The credit card number is invalid." Then
'CCnumber = Right(CCnumber, 4)
CCnumber = "0"
Question = "Credit Number invalid or NSF. Press the Start button to start again."
ElseIf CCstatus = "(TESTMODE) This transaction has been approved." Then
CCnumber = "TESTMODE" 'Right(CCnumber, 4)
Paidby = "TESTMODE"
Call Thankyou
Else
'CCnumber = Right(CCnumber, 4)
CCnumber = "0"
Question = "Authentication channel not found. Please try again in 30 seconds."
End If
Exit Sub



DoSomething_Error:
Select Case Err.Number
Case -2147012889 'cannot resolve DN
'MsgBox ("cnrdn")
CreditCardAuthRetry = CreditCardAuthRetry + 1
'Command1.Caption = CreditCardAuthRetry
If CreditCardAuthRetry > 100 Then
ProcessCreditCard.Enabled = False 'try for 1 second
Question = "Authentication channel not found. Please try again in 30 seconds."
End If

Case 0
'This is to catch all successful Credit Card Processes.. so it doesn't go to else

Case Else
'MsgBox ("Sorry we are having technical difficulties")
'email me the error number

ProcessCreditCard.Enabled = False

CCnumber = "0"
Question = "I am sorry, but we cannot take credit cards right now. "
'Call ClearAll


End Select


End Sub

and I know the credit card processing goes through fine (I can login to my merchant account and see it)...

what does an Error 0 mean, should I be worried? I basically setup my catch statement to ignore an error 0 .. but i want to know if that is a good idea .. or if i can "fix" this issue?

thanks!
Lee

Error Handeling: "Runtime Error '-2147024809 (80070057)' "...
...what do I do about it? I've tried handeling it like other error numbers but nothing seems to work.

Thanks.

How Do You Stop That Annoying "Javascript Error - Do You Wish To Debug"? Error
Try this:


Code:
<script language="JavaScript">
<!--

function stopError() {
return true;
}

window.onerror = stopError;

//-->
</script>

I Ran An Executable VB5 Program And Got An Error Message "Unexpected Error"
I ran a standalone VB5 program and got an error message
"Unexpected error". This message comes up before the form even appeared.

This happened, when I compiled VB 5 project in one of the Win2K. The executable ran for the computer where I created that executable, but it won 't run for other computer.

When this same project is creating an executable in another Win2K, the executable ran on all other computer.

======================================

Here is where the problem is.

On the Win2K computer that has problem, I did this.
In Visual Basic 5.0 Project --> References, there is a reference to
"Microsoft Winsock Control 6.0 (SP5)". When I removed this reference, and create a stand-alone executable application, the application run on all the machines. When I put this back in, it causes problem for other machines.

====================

On the Win2K computer that does not have any problem, I did this.
In Visual Basic 5.0 Project --> References, there is a reference to
"Microsoft Winsock Control 5.0". When I create a stand-alone, executable application, the application run on all the machines.

====================

So the problem is with the "Microsoft Winsock Control 6.0 (SP5)". When I copied the file mswinsck.oca from the good machine to the problem machine, the Project --> References in the problem machine did not changed to "Microsoft Winsock Control 5.0". How do I make the problem machine to use "Microsoft Winsock Control 5.0" instead of "Microsoft Winsock Control 6.0 (SP5)" ?

VB,WordPerfect In Windows 98. Runtime Error "Automation Error"
Hi,

  I am working with Vb and word Perfect. I created an object of word perfect and use the object to open the wordperfect document for updating the bookmarks dynamically. It is working fine in Windows XP OS. If i try the same application in Windows 98 i am getting "Runtime Error : -2147417848 (80010108) Automation Error". It is creating the Object but it is unable to use the created object to open the file.

If anyone has a soultion for this problem do let me know

Thanks in Advance.

Prakash.

VBA "run Time Error '9' SubScript Out Of Range" Error Occured Plz Help
Hai friends,
I am new to Visual basic so i have not a depth knowldge of it that why i need urs help.

In my Problem i want to select one value from the combo box and i want that another value which is in database can show automatically in another textbox on the selection of the distributer.

just like that "state is shown on the selection of country"

plz help and thanx is advance.


The code is

'Change Distributor List on basis of checkBox if Indian Title is Checked
'--------then indian distributor list displayed in Distributor combo box else international list
Private Sub chklocal_Validation(Cancel As Boolean)
   Dim intCount, tempFieldArr
   If Chklocal.Value = 0 Then 'If uncheked
    cboDistributer.Clear 'Clear the Distributor combo
        txtDiscount = ""
        flag = 0 'Means global
        For intCount = 1 To objindianDistributors.Count 'For 1 to international distributor collection
            tempFieldArr = objindianDistributors.Item(intCount) 'Fill items one by one in a Array
            cboDistributer.AddItem tempFieldArr(1) & " / " & tempFieldArr(2) & " / " & tempFieldArr(0) 'Add Array items into combo
       Next
    ElseIf Chklocal.Value = 1 Then 'If Checked
        cboDistributer.Clear 'Clear the Distributor combo
        txtDiscount = ""
       flag = 1 'means local
        For intCount = 1 To objInternationalDistributors.Count
            tempFieldArr = objInternationalDistributors.Item(intCount)
            cboDistributer.AddItem tempFieldArr(1) & " / " & tempFieldArr(2) & " / " & tempFieldArr(0)
        Next
    End If
End Sub

'Fill Discount column on the basic of distributor
Private Sub cboDistributer_Click()
    Dim discCat As String, discount As Double
    Dim intCount As Integer
   Dim tempFieldArr
   
    If (cboDistributer.Text <> "") Then
        discCat = Right(cboDistributer.Text, 3)
        If flag = 1 Then ' here if listbox is checked then following code run
        For intCount = 1 To objMuIndnDistributors.Count
            tempFieldArr = objMuIndnDistributors.Item(intCount)
            cboDistributer.AddItem tempFieldArr(0)
        Next

   ' here txtDiscount is the textbox name where i want to need that value show on the selection of combobox value
    txtDiscount = objIndianDistributors.Item(getIndex(objIndianDistributors, discCat))(0) 'error line

        ElseIf flag = 0 Then ' here if listbox is unchecked then following code run
        For intCount = 1 To objInternationalDistributors.Count
            tempFieldArr = objInternationalDistributors.Item(intCount)
            cboDistributer.AddItem tempFieldArr(0)
        Next
    txtDiscount = objInternationalDistributors.Item(getIndex(objInternationalDistributors, discCat))(0) 'error line

        End If
    End If
End Sub

--> or if u have any code similar to this then plz send me
thanx
reply soon that is very urgent





Edited by - vbhem4u on 6/26/2007 4:47:05 AM

Package And Deployment : Error 75 : Path/file Access Error
I am trying to build a setup package for a VB 6 project. I get a "Unexpected error 75:Path/file access error" and
writing setup.lst goes on forever.
I tried to remove all references but the error still persists. Could somebody please let me know what could be the possible solution to this.
Thanks.

If I Use "SaveSetting App.Title, "Settings", "Font", "001122"" - Save Date In The Registry, Where Ca
If i use "SaveSetting App.Title, "Settings", "Font", "001122"" - save date in the registry, where can i find the value saved in the registry? Thanks

"server Not Yet Been Opened" & "Object Variable Or With Block Variable Not Set" Error
I'm a new user of Crystal Report 8.5. I'm using VB6 and SQL Server 2000. I have designed a report at CR 8.5 and inserted it on VB 6, how will I connect?
I have tried a sample code below but I'm getting an "Object variable or with block variable not set" error. How do I solve this? Please Help. Thanks in advance Gurus

'General Declaration
Dim Report As New CrystalReport1
Dim crApp As New CRAXDRT.Application
Dim crReport As CRAXDRT.Report
Option Explicit

Private Sub Form_Load()
Dim crTable As cRAXDDRT.DatabaseTable
Set crReport = crApp.OpenReport("c:durden mmiclossratioreport.r pt")
crTable.SetLogOnInfo "servername", "dbasename", "userid", "password"
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
End Sub



And when I'm using this code, I'm getting a "Server has not yet been opened" error.



'General Declaration
Dim Report As New CrystalReport1
Dim crApp As New CRAXDRT.Application
Dim crReport As CRAXDRT.Report
Option Explicit

Private Sub Form_Load()
Dim crTable As cRAXDDRT.DatabaseTable
Set crReport = crApp.OpenReport("c:aris mmiclossratioreport.rpt ")
crReport.Database.Tables(1).SetLogOnInfo "mis002", "mqs", "aris", "110796"
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
End Sub



--

Stored Procedure Error - Has Too Many Arguments Specified. ERROR</title> <script Type="text/javascript"> <!-- Function PrintTags() { Var Curr=document.getElementById('vB_Editor_QR_textarea').value; Newval=curr.r
Hi!

I need to execute my insert stored procedure more than once, when the stored procedure gets executed for the second time I get an error:


Procedure or function up_NewPricesInsert has too many arguments specified.


What should I do to execute the sp more than once?

PEACE!

"Error During Loading","Out Of Memory" :O(
I programmed my graduation project by visual basic and after 6 months of work ,suddenly the program didn't run

i got a massege saying "Errors during load .refer to 'D:......form1.log' for details" ,after clicking ok another message appears saying "out of memory" ,then nothing happened and the program didn't run.........
the program was working well, all what have been changed is that i installed a fresh copy of windows xp, then the problem happened........
does anyone can help ,my graduation project test is in the coming 3 weeks, i am in a very difficult attitude.............

REPLACE(variable,"X","Y") Error
I've use this before with no problems now all of a sudden I have a problem.

alt1 = UCase(tbAlter.Text)
alt2 = REPLACE(alt, "Z", "S")

Compile error: Wrong number of arguments or invalid property assignment.

Do I need to add a component or reference?
Thanks

Syntax Error In FROM Clause With "from Mds-nro" But Not With "from [mds-nro]"
one more thing for you to ponder:

when I type my sql statement in a text area on a form like this: "select * from mds-nro",
I get the following error:

Error -2147217900: Syntax error in FROM clause.

when I type my sql statement like this: "select * from [mds-nro]",
I get no error and I can see my o/put sitting pretty in the list box.

Why, I do not know!!!

Copyright © 2005-08 www.BigResource.com, All rights reserved