fx.eko 31 Junior Poster in Training

hi @pyeri
is there a tool to convert from vb6 to Free Pascal (a dialect of Delphi)

Thank you for the enlightenment

fx.eko 31 Junior Poster in Training

It turns out that the compilation problem in vb6 can be solved as long as it is in windows 10 Professional version 22H2 (OS Build 19045.3208)
Therefore, the computer should not always be connected to the internet, because Win 10 is always updated automatically and this can affect because what was still supported suddenly may no longer be supported

What you need to know is that with 4 GB of memory on the above version of win 10 it can still run well, and I managed to make the package deployment wizard

Thank you for the response from all of you, warm greetings from me

fx.eko 31 Junior Poster in Training

hi @Reverend Jim

But why is it that when I compile the source program via the package deployment wizard it can run smoothly until it produces an exe file

Best regards,

fx.eko 31 Junior Poster in Training

hi..
I have a problem when compiling the program
created in VB6, an error message suddenly appears

visual basic has stopped working

the condition of the laptop that I use with 4GB memory specifications
does this correlate directly while executing the process
compile, while if I compile the program with
VB6 installed on windows 7 32bit no problem or
the visual basic has stopped working error doesn't happen

thanks for the enlightenment

fx.eko 31 Junior Poster in Training

@rproffitt is it possible that this is caused by blocking the mac address on the router from the lan card, because I don't want the server to be connected to the internet

rproffitt commented: Easy to test. Don't do that. +17
fx.eko 31 Junior Poster in Training

hi @Dani the link you provided didn't help me, the operating system that I use is Win 7 Professional and Win Server 2012 standard and SQL 2014 standard, indeed the VB6 programming language is a bit behind, but in migrating the system of course the old system is still running, can't just cut off, while the process of developing to VB.Net is not finished

Regards,

fx.eko 31 Junior Poster in Training

Hello all

I've been using it for years
SQL SERVER 2014 Standard and language
VB6 programming, but only this time
get the following error:

Run-time error '-2147467259 (80004005)':
[DBNETLIB][ConnectionWrite (WrapperWrite().]General network error

Has any of you guys ever experienced this??

what is this caused by??

thanks for the enlightenment

Regards,

fx.eko 31 Junior Poster in Training

to @rproffitt

I just tried to copy the ..\bin\debug folder from the backup program
and I overwrite it in the original folder of the original program
then I open the program and it runs normally
but only for a moment the error is gone

if i try to make a small project like making
"Hello World" is running normally

However, if my project is fully opened from the "backup file" intact
until now the error has not appeared again

The question is what is the main cause of the error?
"Error while trying to run project:Unable to start program "

fx.eko 31 Junior Poster in Training

Hi everyone
I have a problem
when I run the vb.net program on VS2010 the following error appears:

Error while trying to run project:
Unable to start program 'G:\TREEVIEW_uc_cr\bin\debug\Treeview_UC.exe'

Please help in solving this problem.
Thank for advance

fx.eko 31 Junior Poster in Training

Hi @xrjf
apparently the problem is for the error "Object reference not set to an instance of an object." , is caused by the name of the subreport followed by the suffix RPT

The correct writing is as follows:

    rpt.Subreports("YourSubreport").SetDataSource(ds_detspk) 'without extension rpt

Thank you for your attention and response

fx.eko 31 Junior Poster in Training

'MySubReport.rpt' in rpt.Subreport("MySubReport.rpt").SetDataSource(ds detspk.Tables(0))
is the name of the subreport that I created in the crystal report with the name "CryRpt_SPK.rpt" as defined in

Dim rpt As New CryRpt_SPK() 'The report created.
                            'Crystal report which contains the master and details which to display the details 
                            'are made in the subreport
fx.eko 31 Junior Poster in Training

hi xrjf

error problem "Column 'CODE_WAR' does not allow nulls." it's been solved,
it turns out that in the "master dataset" the default KODE_WAR field cannot contain <DBNull>
but there is a new problem with
rpt.Subreports("MySubReport.rpt").SetDataSource(ds_detspk.Tables(0))
new error appears
"Object reference is not set to an instance of an object."

thanks for advanced

fx.eko 31 Junior Poster in Training

Hi @xrjf
when my program runs on the statement "rpt.SetDataSource(ds.Tables(0))"
there is an error "Column 'KODE_WAR' does not allow nulls."
after I check the DAFTAR_WARNA table or the SPK table, the KODE_WAR field is all filled, there is no Null data.

Query "SELECT NOSPK, TGL_SPK , NAMA_GREY, SPK.KODE_WAR, NAMA_WAR, ROLL_PROD_SPK , KG_PROD_SPK ,KET_SPK
FROM SPK
INNER JOIN GRAY ON SPK.CODE_GREY = GRAY.CODE_GREY
INNER JOIN DAFTAR_WARNA ON SPK.KODE_WAR =DAFTAR_WARNA.KODE_WAR
WHERE nospk = 'PKP-00001' "
I run SQLQuery in SQL Manager, the output record appears.

What is this problem caused by?

thanks for advanced

fx.eko 31 Junior Poster in Training

Hi @xrjf
i tried to display crystal report 2013 on vb.net but why the result is empty.
sample program is in the file attachment

thanks for advanced

fx.eko 31 Junior Poster in Training

thank you very much @Reverend Jim for your advice and attention

Best regards,

fx.eko 31 Junior Poster in Training

@xrjf can you give a link how to display sub report on crystal 2013 step by step in vb.net programming language on vs2010.

best regards

fx.eko 31 Junior Poster in Training

@Reverend Jim, @rproffitt thanks for response

it turns out that it can't boot from the hard drive is the loss of the partition that already contains the operating system

Bless the lord

fx.eko 31 Junior Poster in Training

Hi all...

I have a problem with the computer not booting from the hard drive, where as if I look at the BIOS setup the hard drive is recognized.
I'm using a motherboard from Asus H110M-E M2

thanks for advance

rachel_19 commented: Fixing “Disk boot failure” on Windows -Restart the computer,Change BIOS boot order,Remove newly installed hardware, Regards, Rachel Gomez +0
fx.eko 31 Junior Poster in Training

hi everyone
can you give an example of coding in vb.net vs2010 how to make a report in crystal report 2013 with sub report

thanks for advanced

fx.eko 31 Junior Poster in Training

I tried to create the database connection SQL Server 2008 R2 Express with ODBC connection using TCP / IP
After I try the following error appears :
Connection failed :
SQLState : '01000 '
SQL Server Error : 10060
[ Microsoft ] [ ODBC SQLServer Driver ] [ TCP / IP Sockets ] connectionOpen
[ Connect ( ) ] .
Connection failed :
SALState '08001 '
SQL Server Error : 17
[ Microsoft ] [ ODBC SQL Server Driver ] [ TCP / IP Sockets ] SQL Server does
not exist or acces denied .

I 've made a firewall rule on the inbound and outbound to enable port 1433 , but the result is the same connection can not be made , the SQLServer2008R2 Express configuration through Configuration Manager Tools for TCP / IP I was already set on the SQL Server Network Configuration - Protocols for SQLEXPRESS ( or equivalent ) - TCP / IP , by filling in the following directions:
• Double click on TCP / IP
• Click on the IP Addresses tab
• Under IP1 sets the TCP port to 1433 if it has not been already
• Under the IP All TCP Port set to 1433 if it has not been already

But when trying to re- wear an ODBC connection via TCP / IP the result is the same error message appears as shown above

Best regards,

fx.eko 31 Junior Poster in Training

when I will make a report on vb6 using crystal report 8.5, the error message "Visual Basic has stopped working"

what is causing the above?

fx.eko 31 Junior Poster in Training

@ rch1231, I have a query as follows:
select a.A, a.B from server1.dbo.table1 a
UNION
select b.A, b.B from server2.dbo.table1 b

but if the query is why I enter in the data environment on the current VB6 will create a data report, the fields that should appear in the data environment did not appear.
Can you help me @ rch1231

best regards,

fx.eko 31 Junior Poster in Training

@ rch1231, thank you very much for your answer and it can work well.

fx.eko 31 Junior Poster in Training

@ abelingaw, my right to wear flash.ocx accesories main menu program I created, and it is also true when there is a change in the main program and I could not save it, but usually it does not matter.

But this time I was outsmarted by using notepad.exe For the editors if there is a change in the main program and it worked, @ abelingaw no other way than removing flash.ocx, I wear his flash.ocx final version version 10

fx.eko 31 Junior Poster in Training

how to create a report with data from duatabase on the same server or different servers, using SQL Server 2000, using the crystal report 8.5 or **data report of VB6 **

For example I have table A and table B with the same table structure, table A is stored in the database with the name DataB1 and stored in a database table B DataB2

Table A
code name

Jon X1
Jim X2

Table B
code name

Yana Y1
Y2 yono

I want to create a report showing the contents of both tables A and B
Dapa contained two different databases, which ultimately results

Combined table A and table B into
code name

Jon X1
Jim X2
Yana Y1

Y2 yono

Best regards,

fx.eko 31 Junior Poster in Training

@ Reverend jim @ fourty and thank you for your reply, after I double check my program turns out I have forgotten to define / wrong in defining variable in the class / component that I created

warm regards

fx.eko 31 Junior Poster in Training

"iwannabesedated" thanks for your reply, I will try to re-check the component that I created

best regards

fx.eko 31 Junior Poster in Training

"minimalist" error appears when I edit the main program on the mdi form and when I save the edits comes the error message

fx.eko 31 Junior Poster in Training

you try to use the package deployment wizard is provided VB6

fx.eko 31 Junior Poster in Training

Minimalist thank you for your reply, but the problem is not there, I've never gotten an error like the link you mentioned, but this one is a different case.

Once again thank you for your response,

best regards

fx.eko 31 Junior Poster in Training

when making a component (ocx file) of the combo box, and the wear components of the user control, then I compile it into ocx files. Once finished I include the components of it into the main program. then I do click and drag the combo box to the form, but that happens there is an error message "object variable or with block variable not set", what is causing it.
Meanwhile, when I compile the component made ​​no errors at all

please help to enlighten thank you for your help
warm regards

fx.eko 31 Junior Poster in Training

when I create a program with VB6 and I do storage program that I have made the message "System error & H80004005 (-2147467259). Unspecified error".

Can you all enlighten me?
thank you for your help

fx.eko 31 Junior Poster in Training

how to connect sql server 2000 database with multiple connections

I got a sample database DB1 and DB2, the DB1 I have table A, and I got a table on DB2 B, between A and B table no direct relation

thanks for the enlightenment

fx.eko 31 Junior Poster in Training

When I try to migrate from SQL Server 2000 to SQL Server 2008 R2 Express, when I run the application program there is an error message transaction aborted by the trigger, whereas before when I was using SQL Server 2000 does not exist error.

after there was a note on the trigger statement to update data that is not given block BEGIN TRANSACTION in SQL Server 2000 while it had no effect.

Does the complexity of SQL server 2008 which made ​​it should not be violated?
It points what should be considered when migrating from SQL server 2000 to sql server 2008??

thanks for the enlightenment

fx.eko 31 Junior Poster in Training

hai JorgeM

After I check the ODBC setup when there was a small mistake in the name server and the server alias name that caused the failure of the connection to the existing database on the server, so I have found a connection failure.

in advance thank you for your attention, best wishes

fx.eko 31 Junior Poster in Training

How do I connect from another machine to SQL Server 2008 R2 Express installed on Windows Server 2008?

I've setup the network configuration to be enabled and the TCP port is set to 1433, but I still can not connect to an existing database on the server when creating ODBC on the client computer

Please help me to enlightenment

Best regards,

Eko FX

fx.eko 31 Junior Poster in Training

I want to try to show barcode in crystal report and print it on a printer through a crystal report, there is of a friend who can give me an example of a small program

thanks in advance

fx.eko 31 Junior Poster in Training

hi all,
thank's for your help, btw i have been solved this problem
the answer is FLASH.OCX could not use version 11, must use old version

Bless the lord,

Jx_Man commented: Great +14
fx.eko 31 Junior Poster in Training

@reverend Jim

I have tried by adding
Private Declare Sub InitCommonControls Lib "comctl32.dll" ()
taking on the form of the component Comctl32.Ocx control and on Form_Load, I call InitCommonControls but the results remain the same when the program turns out I save error message "System Error & H80004005 (-2147467259) Unspecified Error" still appears

please help, thanks in advance

fx.eko 31 Junior Poster in Training

@reverend Jim

in your link from microsoft, in the "resolution" is recommended to add the following additional declaration:
Private Declare Sub InitCommonControls Lib "comctl32.dll" ()

if I add it when stored error remains the same, then I change it to
Public Declare Sub InitCommonControls Lib "comctl32.dll" ()

the sub play, then I save the program again and error is gone, what will affect the way I again ?

thanks in advance, I hope your comment

fx.eko 31 Junior Poster in Training

@reverend Jim

I've seen the link you gave, I will try but it seems rather complex.
thanks in advance

fx.eko 31 Junior Poster in Training

@game4tress

error message appears when the program will be stored, development current form is not a problem,
when I run the program is also not a problem

fx.eko 31 Junior Poster in Training

hi all
I have a problem with the error message "System Error & H80004005 (-2147467259)", this happens or appears when I make a program with VB6 and now I have created a program that will save me.

Please enlightenment, thanks for the help

fx.eko 31 Junior Poster in Training

Hi all
I have a problem with how to check the printer via LPT1 through programming language Visual Basic 6.
Its need for printing the letter post items, so that the data is not easily changed.
thanks for the friends who can help solving my problem.

respectful greetings,

fx.eko 31 Junior Poster in Training

programming language that I use VB6

fx.eko 31 Junior Poster in Training

hello all
I create a report using Crystal Report 8.5 with RDC techniques, how to eliminate / prevent the printer from crystal report dialog does not appear if I had checked the printer is not ready to function printer checker that I created myself.

in other words, how to cancel the printer

thanks for the help

fx.eko 31 Junior Poster in Training

@tinstaafl - It's work, thanks for your help
best regards

fx.eko 31 Junior Poster in Training

@tinstaaf - Mr Tinstaaf, some time ago I had to replace the RAM,
I have also tried to uninstall and reinstall VB6 and I also have to try
to replace the hard drive but the result is still the same,
but I will try to change to another new hard drive.
I thank you in advance for your attention

@AndreRet - Mr. Andre I logged in as administrator,
also I have tried to right click and run as administrator VB6 run time,
but the result remains the same, also i have tried to repair my hard drive
but still the same hard drive regenerator feared VB6.EXE stored on bad sectors,
thanks you for your close attention next time maybe you have another solution
I wait for the answer.

best regards

fx.eko 31 Junior Poster in Training

hi ..
I use visual basic 6, I opened a new project, when I create a data report using Crystal Report 8.5 which already include the current Visual Basic will add a new report by way of Add -> Crystal report 8.5, the error message "Visual Basic has stopped working ", if continued for an additional debug error message" an unhandled win32 exception occured in Vb6.EXE [4784], an unhandled exception at 0x89067542 in VB6.EXE: 0x0000005: Access violation reading location 0x89067542 "

I've checked the ODBC connection is no problem, please help.

thanks in advance

fx.eko 31 Junior Poster in Training

AndreRet thanks for your answer, I have been check ODBC connection and that is the problem
Thanks for your advanced