|
I've given you everything you need. I've told you exactly where to look. No, I'm not spoon feeding you this stuff and I am not writing your code for you. I've got my own 50,000 line app I've got to get running.
|
|
|
|
|
|
Good friends! Please I need your help. Is it possible to write a program that can get scanned document contents, then paste it on a textbox using vb.net or vb6.0? That is, if you scan hardcopy of ms word so that you can save typing time by just editing it using any program. Can this application be develop with vb6.0 or vb.net? Please help!!!
|
|
|
|
|
This can be made, but is is quite complicated and you would reinvent the wheel. What you need is an OCR API or software, have a look at this question[^] for more info.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what is used to.
|
|
|
|
|
Hi
Please help me to resolve this issue.
I have configured my DB2 Connection string in Registry with the Instance NAme as DB2 .
My Connection string key contains
Provider , Database , Host name , Protocol , PORT , USERID , PASSWORD , Authenthication.
I have a Code in VB like..
sSQL = UPDATE <stmt>...
Set UPDATECAL = DATALAYER.ExecSQLUpdate(INSTANCE_NAME, sSQL)
Instance name written DB2 as constant.
I am getting failure after executing this..
The connection cannot be used to perform this operation. It is either closed or invalid in this context.
I guess it is not recognizing this connection.
Please help me...if required i will post more information.
|
|
|
|
|
Senthilkumar E wrote: URGENT HELP NEEDED We're volunteers, and this is a public board. Your question is as important as all the others; you've paid the same amount to ask the question.
You're talking about VB6. That product has been discontinued some time ago, so it CANNOT BE URGENT.
Senthilkumar E wrote: I guess it is not recognizing this connection. You want to guess again, or would it be more helpfull to try if you can execute a simple SELECT-statement from a new app using the same connection-string?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi Eddy
Thanks for your reply.
The product which i am working currently it is vb6 , no matter whether its discontinued , have a request to change the existing Oracle connection to DB2 Connection. If you could help me in any way that would be grateful.
|
|
|
|
|
Senthilkumar E wrote: The product which i am working currently it is vb6 , no matter whether its discontinued It does. Your product might stop working tomorrow, without any notice.
Senthilkumar E wrote: have a request to change the existing Oracle connection to DB2 Connection Did you try to change the connection-string?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
From the error message, it looks like you didn't open the connection or the connection didn't open as expected and your code ate the error somewhere.
For DB2 connection strings, see ConnectionStrings.com[^].
|
|
|
|
|
helo guys!
i'm new to this forum!
i am working on a project and i have 4 textboxes and 2 tabpages on my form.
i wrote my program in such a way that all 4 textboxes MUST be filled before i can go to tabpage2.
here is my problem.
I need textbox1 to be empty and still be able go to tabpage2 even whrn textbox2,3and 4 MUST be filled
any form of help is appreciated.
Thanks 
|
|
|
|
|
Then you need to change your program so that it will accept TextBox1 even if it is empty.
|
|
|
|
|
|
Check the contents and if it is empty then continue. I'm not a VB.NET expert so I don't know the exact syntax, but in C# it would be something like:
if (textbox1.Text == "")
else
|
|
|
|
|
Hi Guyz,
I am developing windows metro apps using vb.net and XAML.
I need to convert canvas element which contains ink strokes on it.
I am using the below code :
<canvas x:name="CollectionSignature" height="120" width="350" background="White" margin="0" horizontalalignment="Left">
Vb.Net code :
Public Shared Async Function GetSignatureImageString(oElement As Canvas) As Task(Of String)
Try
Dim o As New RenderTargetBitmap
Await o.RenderAsync(oElement, Convert.ToInt32(oElement.Width), Convert.ToInt32(oElement.Height))
Dim aryData = Await o.GetPixelsAsync()
Dim logicaldpi = DisplayInformation.GetForCurrentView().LogicalDpi
Dim oStorageFile As StorageFile = Await ApplicationData.Current.TemporaryFolder.CreateFileAsync(oElement.Name + ".png", CreationCollisionOption.ReplaceExisting)
Dim oStream As IRandomAccessStream = Await oStorageFile.OpenAsync(FileAccessMode.ReadWrite)
Dim oEncoder As BitmapEncoder = Await BitmapEncoder.CreateAsync(BitmapEncoder.PngEncoderId, oStream)
oEncoder.SetPixelData(BitmapPixelFormat.Bgra8, BitmapAlphaMode.Ignore, Convert.ToInt16(oElement.Width), Convert.ToInt16(oElement.Height), logicaldpi, logicaldpi, aryData.ToArray())
Await oEncoder.FlushAsync()
Dim oBuffer As IBuffer = Await FileIO.ReadBufferAsync(oStorageFile)
Dim aryData1 As Byte() = oBuffer.ToArray()
oStream.Dispose()
oEncoder = Nothing
oStorageFile = Nothing
aryData = Nothing
o = Nothing
Return Convert.ToBase64String(aryData1)
Catch ex As Exception
End Try
End Function
I am getting 'Value does not false within expected range' on 'o.renderasync' method.
Can you please help?
Thanks,
Vinay
|
|
|
|
|
Vinay Sakpal wrote: I am getting 'Value does not false within expected range' on 'o.renderasync' method. Which variable and what is its value, and what is the range it should lie within?
|
|
|
|
|
Ask How to transfer datagridview values to a listview in Visual Basic 6.0, Please help me ! Thankz
|
|
|
|
|
Create a loop and copy the items over, row by row. What seems to be the problem?
|
|
|
|
|
Visual Basic 6 is discontinued; it's no longer a supported option. You can download VB.NET for free, which means there's no good reason left to be working in VB6.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi,
I've downloaded a code for sending SMS in mobile from PC.
This code has two conditions -
"To run this application successfully, two things should be done:
1. You must have Gmail ID.
2. Register the phone number which you are going to use in a website http://email2sms.netcore.co.in/"
I've problem to follow the 2nd term. When I click the Link email2sms.netcore.co.in the following message is displayed -
"Oops! Google Chrome could not connect to email2sms.netcore.co.in
Did you mean: netcore.co.in"
When I open netcore.co.in there is no option to register mobile no.
I want to know that how to register my mobile number in netcore.co.in
Thanks,
Virendra
|
|
|
|
|
Talk to them.
Try an email, and explain the problem - it sounds as if their website has a problem and needs to be fixed. If they can't fix it, what confidence do you have that they will continue to be able to send the SMS message for you in the future?
If they can't fix it reasonably quickly - look elsewhere!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Same problem here. Searching another solution.
Regards
|
|
|
|
|
I have downloaded open source jdbc from sourceforge and would like to figure out how to implement a connection string using the jtdms using Access as a frontend. Currently I am making my connection via Sybase 11 ODBC DSN and want to move out of that method. I am trying to adapt to the ODBC drivers from Sybase that are becoming incompatible with Win 7 forward. Customer has a licensed ASE 11.5.1 DBMS and not in position to invest in upgrade (grant funded).
Any help or suggestions would be greatly appreciated and willing to share the completed connection solution to help others.
I recently purchased RazorSQL DBMS program that connects on my W7 64 effortlessly and it uses the same drivers plus jConnect and others.
This is from the profiles file of good connections that I have tested and worked in using that program.
Thanks in advance.
jdbc:jtds:sybase://192.168.10.11:5000/TST_MCG
database=Sybase (ASE)
user=boss1
autoCommit=Yes
type=Sybase (ASE)
type2=null
driver
Class=net.sourceforge.jtds.jdbc.Driver
classLocation=C:\Program Files (x86)\RazorSQL\drivers\jtds\jtds12.jar
connectUrl=jdbc:jtds:sybase://192.168.10.11:5000/TEST_MCG
profileName=ASE_Java_01
keepAliveQuery=select getdate()
serviceUrl=null
serviceType=null
serviceInterfaceClass=service
InterfaceMethod=connection
Type=JDBC
connectAs=host=192.168.10.11
port=5000
databaseName=TEST_MCG
fetchSize=100
isolationLevel=Read Uncommitted
savePassword=true
password=hidden
saveServicePassword=true
servicePassword=
autoConnect=false
useUnicode=false
maxRows=0
secure=true
sqlRestrictions=1003
connprops= ((Z~]
database=Sybase (ASE)
user=boss1
autoCommit=Yes
type=Sybase (ASE)
type2=null
driverClass=com.sybase.jdbc3.jdbc.SybDriver
classLocation=C:\Program Files (x86)\SQLprogram\drivers\sybase\jconn2.jar
connectUrl=jdbc:sybase:Tds:192.168.10.11:5000
|
|
|
|
|
This looks more a Java question than Visual Basic.
|
|
|
|
|
I have created a collection class in vb.net to pass a collection from vb.net to vb6 and everything works great.
I am now trying to send a collection to a function by reference. The collection is created in vb6 but the function is in a class in vb.net. The function needs to be able to update the collection (thus byRef).
|
|
|
|
|
sashaw2 wrote: The function needs to be able to update the collection (thus byRef).
Does it need to replace the collection with a new instance, or just modify items within the collection?
You should only need to pass an object by reference if you're going to replace it with a different object, and want that change to be visible to the calling code.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|