hi @pyeri
is there a tool to convert from vb6 to Free Pascal (a dialect of Delphi)
Thank you for the enlightenment
hi @pyeri
is there a tool to convert from vb6 to Free Pascal (a dialect of Delphi)
Thank you for the enlightenment
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
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,
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
@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
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,
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,
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 "
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
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
'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
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
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
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
Dim rpt As New CryRpt_SPK() 'The report
Dim myConnection As SqlConnection
Dim Cmd1 As SqlCommand()
Dim adp1 As SqlDataAdapter()
Dim Cmd2 As SqlCommand()
Dim adp2 As SqlDataAdapter()
Dim ds As New DataSet_MstSPK 'The DataSet master
Dim ds_detspk As New DataSet_DetilSPK 'the dataset sub report
myConnection = New SqlConnection("Data Source=.\SQL2014C;Initial Catalog=TESTDB;Integrated Security = true")
'header on crystal report
ds.SPK.Clear()
ds.GREY.Clear()
ds.DAFTAR_WARNA.Clear()
ds.EnforceConstraints = False
'QUERY FOR MASTER AT CRYSTAL REPORT 2013
cmd1 = New SqlCommand("SELECT NOSPK, TGL_SPK , NAMA_GREY, NAMA_WAR, ROLL_PROD_SPK , KG_PROD_SPK ,KET_SPK " & _
"FROM SPK " & _
"INNER JOIN GREY ON SPK.KODE_GREY = GREY.KODE_GREY " & _
"INNER JOIN DAFTAR_WARNA ON SPK.KODE_WAR =DAFTAR_WARNA .KODE_WAR " & _
"WHERE nospk = '" & Me.txtNoSPK.Text & "' ", myConnection)
adp1 = New SqlDataAdapter(cmd1)
adp1.Fill(ds, "SPK") 'ds --> DataSet_MstSPK
adp1.Fill(ds, "GREY")
adp1.Fill(ds, "DAFTAR_WARNA")
'sub report/detail, crystal report
ds_detspk.DET_SPK.Clear()
ds_detspk.DAFTAR_BENANG.Clear()
ds_detspk.PERSEDIAAN_BENANG.Clear()
ds_detspk.DAFTAR_WARNA.Clear()
ds_detspk.EnforceConstraints = False
cmd2 = New SqlCommand("select DB.NAMA_BRG , DW.NAMA_WAR , ds.BALE_SPK , ds.KG_SPK , ds.KOMPOSISI " & _
"from DET_SPK ds, DAFTAR_BENANG db, PERSEDIAAN_BENANG pb, DAFTAR_WARNA dw " & _
"where DS.KODE_BRG = db.KODE_BRG And ds.KODE_BRG = pb.KODE_BRG " & _
"and ds.KODE_WAR = dw.KODE_WAR and ds.KODE_WAR = pb.KODE_WAR " & _
"and ds.NOSPK = '" & Me.txtNoSPK.Text & "' ", dbCon)
adp2 = New SqlDataAdapter(cmd2)
adp2.Fill(ds_detspk, "DET_SPK") 'ds_detspk ==> DataSet_DetilSPK.xsd
adp2.Fill(ds_detspk, "DAFTAR_BENANG")
adp2.Fill(ds_detspk, "PERSEDIAAN_BENANG")
adp2.Fill(ds_detspk, "DAFTAR_WARNA")
rpt.SetDataSource(ds)
frmViewSPK.CrystalReportViewer1.ReportSource = rpt
frmViewSPK.ShowDialog()
thank you very much @Reverend Jim for your advice and attention
Best regards,
@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
@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
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
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
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,
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?
@ 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,
@ rch1231, thank you very much for your answer and it can work well.
@ 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
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
Jon X1
Jim X2
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
Jon X1
Jim X2
Yana Y1
Best regards,
@ 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
"iwannabesedated" thanks for your reply, I will try to re-check the component that I created
best regards
"minimalist" error appears when I edit the main program on the mdi form and when I save the edits comes the error message
you try to use the package deployment wizard is provided VB6
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
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
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
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
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
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
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
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
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,
@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
@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
@reverend Jim
I've seen the link you gave, I will try but it seems rather complex.
thanks in advance
@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
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
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,
programming language that I use VB6
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
@tinstaafl - It's work, thanks for your help
best regards
@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
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
AndreRet thanks for your answer, I have been check ODBC connection and that is the problem
Thanks for your advanced