Hi,I got traped about an unknown error.
I have made HttpUpload Component(OCX) in VB6.0.It is working fine only when I give break point in my application(I mean I can upload file on server only when there is break point in app,otherwise not).Any one knows why so?I tried to give time delay,by inserting for loop,bt it does'nt worked.
User Profile
Collapse
-
Application does'nt work without break point.
-
HttpSendRequest always return false.
I am facing problem in HttpSendRequest () API(Developing OCX for Http Upload control.).It always return false.Any idea?I am posting my code:
Public Function UploadFileHTTP( ByVal localFileName As String, ByVal remoteFileName As String) As Integer
Dim nRet As Integer
Dim nFileHandle As Integer
Dim bData(BUFFER_SI ZE - 1) As Byte
Dim leftoversize As Long
lWritten = 0
Dim... -
is there other option exists to InternetConnect API?
Can anyone tell me,if there is another option to InternetConnect API.Bcoz it generating handle as 0.When I enter second parameter as IP address,I m getting error 12007:Server Name could not be resolved.(I am creating OCX for Http File Upload control in VB.)I m posting my code as below--
Public Function OpenConnectionH TTP() As Boolean
'On Error Resume Next
Dim openHttpFlags As Long
hInternet... -
hey,don't take it othewise.It's not like that.Me n my friend commonly trying to solve the problem.That was by mistake.I am sorry.... -
my question is how to test written code.I mean it is correct or not....Leave a comment:
-
Yes.First I searched what is it,I used API's n user control.I m posting my eritten code.
Public Function UploadFileHTTP( ByVal localFileName As String, ByVal remoteFileName As String) As Integer
'On Error Resume Next
Dim nRet As Integer
Dim nFileHandle As Integer
Dim sData As String
Dim lWritten As Long
Dim hConnect As Long
Dim hsend As Long
Dim nLOF...Leave a comment:
-
sorry,not getting.Plz tell me again in brief.I have'nt created an OCX before....Leave a comment:
-
how to compile OCX
Hi,thanks for motivating me.(Last time I gave myhomework to somebodyelse,bu t that is not good approach to learn.)I tried everything n learnt lot.But I have on doubt,plz tell me how to compile OCX.(I am creating HTTP File Upload OCX in VB6.0).Thanking you. -
HTTP fileupload api in vb6.0
I want to upload files on the server from a vb6.0 application. Any http api or any control or any thing which could help me doing this in my vb6.0 application,or even rough idea,(Actually I am not getting what I have to do) that would be a great help. -
Spell Checker in asp.net
I am doing project in asp.net(using vb.net).In that I have taken multiline textbox,now I want to create Spell Checker.Means text in textbox should detect spelling error with suggestion,exac t like MSWord.Can I do this in .net.What is the use of namespace Imports Word?can anyone help me on this? -
How to sort HTML table in javascript
Hi,I am doing project in ASP.NET(by VB.NEt).I have created an HTML Table.Now I want to apply sorting to the table in javascript.How can I do this?Any help will be appreciated.Tha nking you!Leave a comment:
-
Sorting an HTML Table with javascript.
Hi,I am doing project in ASP.NET(by VB.NEt).I have created an HTML Table.Now I want to apply sorting to the table in javascript.How can I do this?Any help will be appreciated.Tha nking you! -
RecorCount get 0
Hi,I am creating new database in SQLServer,I m exporting data from existing database so I m getting recordcount as -1 in ASP,so login status get empty n login get fail.But when I change the cursor location I can login successfully,wh y so?Any help will be appreciated.Tha nking you! -
error:Session state has created a session id--
Can any one plz tell me why I am getting this error,and what is the meaning of this error---
Session state has created a session id, but cannot save it because the response was already flushed by the application. -
Actually I am creating text editor in asp.net.So the problem is exec command can not be applied to TextArea control thats why i m using iFrame control for editing.But I want to save edited text on server side,and it can not be applied to iFrame.So I required text from iFrame,then I will pass it to TextArea,then I can save it anywhere.
So my questn is how can I get text from iFrame control.(may be in alert box or by response.write. ..).Following...Leave a comment:
-
How to get text from iFrame control?
Plz any one tell me How to get text from iFrame control? -
Actually I am doing project in asp.net.in that I am using Listview control in javascript.It allows user to select the row on clicking.But I want to open new window on double clicking.I am getting unique id of selected row....Leave a comment:
-
how to open new window in javascript on doubleclick
Anyone plz tell me how to open new window in javascript,when double clicked on row of table.I know window.open(); But how on double click event? -
-
how to get selected text
can any one plz tell me how to get selected text from multiline textbox?I am using asp.net2.0.
No activity results to display
Show More
Leave a comment: