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




Winsock Request


I have a Winsock component setup right now on my network, exact same as whats in this thread

I would like to know if a similar control can be built using Winsock to do this:


1) Connect to a remote computer, by IP address. (I have a code that determines the IP address of the remote machine already..)

2) Open a .txt file, send it back to (my) the users computer and displays it in a text box on screen.

3) On command button press, take what ever is in my text box, and send the file back to the remote computer and save it.

Kind of like editing a configuration file, remotly.

I know the application would have to be running on the remote end as well as my end for this to work, if its at all possible.

I would really like to do this, I appeciate everyones help in advance!




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Winsock Syntax? (To Request A Website With The Winsock Control)
Ok, I don't know very much about Winsock and am just now starting to use it. I'm making an anonymity program that modifies referer and user agent data. I managed to find an example of how its done on planetsourcecode.com but there's a few things that aren't working.

Anyway, when this string is sent, it sends the headers and a request for index.html from the connected host (winsock1.connect domain.com 80).

GET index.html HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-comet, */*
Accept-Language: en
Accept-Encoding: gzip , deflate
Cache-Control: no-cache
Proxy-Connection: Keep-Alive
User-Agent: Whatever
Referer: www.whatever.com

But when I used the website http://ipid.shat.net/ as the domain to see if code mdified the headers or not, it directed me instead to just www.shat.net. How would a browser request information to ipid.shat.net?

Also, I noticed that by sending just that information, cookies don't work properly. What other tags do I have to add onto that for it to recieve my session information? Thanks a lot.

Winsock Example Request
I'm at work where I can't get to any help files for winsock.  Can somebody give me a quick example of the code required to create a winsock instance, including telling it to listen and respont to internet requests?  I'm going to attempt to make MS Access act like a simple server, and I just don't have the resources here to get it running.  Thanks!

Winsock HTTP Request Help
I need help with this, my wrapper uses winsock to send requests and the close event does not fire which makes the connection stay open forever, my wrapper is at the bottom it is a attachment

WinSock Request Accept
Hey,

I have been trying to get this code to work, It's most likely something stupid am doing, but i cant get my server program type thingie to accept the Request ID from the client program thingie... Here is the code to the part that it says is wrong (If you need anyother parts tell me an i'll post it)


Code:
Private Sub HostSocket_ConnectionRequest(ByVal requestID As Long)

'Show Request In Host Log
HMsg = "Connection request id " & requestID & " from " & HostSocket.RemoteHostIP
HostLog.AddItem (HMsg)

sRequestID = requestID
iSockets = iSockets + 1
ConNumber.Caption = iSockets
Load HostSocket(iSockets)
HostSocket.LocalPort = 1007
HostSocket.Accept requestID

End Sub
PS. I looked at an example to help me with this, so am not sure whats wrong.

Thx in advance.

Ali.

Can Winsock DLL Do Other Protocol Request ...
guys,

i find that the winsock OCX really is limited in its capability...
can anyone suggest me a better one for network programming? because the protocol type is limited to a few only....

I hope to do RTSP / RTP request ... is there any thing that i can used to do that ???

can Winsock Dll do other protocol request or its the total same with the winsock OCX?

Does anyone has a sample using winsock DLL (as client)...??

Winsock : GET Http Gives Me Bad Request , Why?
guys,

is the statement below wrong??

GET http://www.hypermart.com HTTP/1.0


the dataarrival shows me error message...

400 BAD Request

can anyone justify this please?

Multiple Request With Winsock
Greeting,

I have a little problem with winsock. I have a server and several
client. I want to transfer text from server to client trough the network
In this case, I using winsock to transfer the text. It is ok when only 2
computer connected (1 server and 1 client). But, when 3 computer
Connected (1 server and 2 client) I cant broadcast text to all client.

Does any body know how to broadcast text fom server to client trough the
network and winsock?

thanks

Rgds,
Rano Nugrah Agung Homan

Winsock Sample Request
Hi all,

I need to make a server app for my project. I have concluded that I will need to implement Winsock to do so. I have read up on all Winsock articles here (and many others elsewhere) and have downloaded and studied all the samples I could find.

However, I am unable to do what I want because:

- The tutorials say that the IP address or friendly name of the target computer MUST be specified for the Winsock control to connect on the other side. This strikes me as very backward, as I can not always know what IP addresses my customers' network stations will be running on and cannot also predict their friendly names. Does this have to be hard-coded?

- Try as I may, I cannot create a working sample of Server.Exe and Client.Exe to run on the same machine as I cannot afford the luxury of testing my code over two machines. Is there any way I can debug / test on one machine?

If any member proficient with Winsock (Laura Stephens and Jason Rogers come to mind) would like to help, I shall appreciate a small sample to get me started by solving the above two problems.

GoodGuy
Experience is a bad teacher for its exams precede its lessons.

Edited by - GoodGuy on 12/10/2007 10:23:30 PM

Winsock Array Connection Request
i made a post a couple days back gavino answered
im trying to make my multi chat program and well, it isnt goin by too well. for starters the client cant connect

Code:
Private Sub sckSocket_ConnectionRequest(Index As Integer, ByVal requestID As Long)
SockNum = SockNum + 1
Load sckSocket(SockNum)
sckSocket(SockNum).Listen
sckSocket(SockNum).Accept requestID
End Sub
is there sumthing wrong with that?

[VB6] Winsock POST Request Problem
I'm trying to connecto to google.com and translate a simple word (just to test if works).

And I have a problem when I'm sending POST request data, here is my code:


Code:
Private Sub Command1_Click()
Winsock1.Close
Winsock1.Connect "www.google.com", "80"
End Sub


Private Sub Winsock1_Connect()
Dim packet As String
Dim strpost As String

strpost = "hl=it&ie=UTF8&text=hello&sl=en&sl=en&tl=it&tl=it"

packet = "POST /translate_t HTTP/1.1" & vbCrLf
packet = packet & "Host: www.google.com" & vbCrLf
packet = packet & "Accept: */*" & vbCrLf
packet = packet & "Accept-Language: it,it-it;q=0.8,en;q=0.5,en-us;q=0.3" & vbCrLf & vbCrLf

packet = packet & "Content-Type: " & "application/x-www-form-urlencoded" & vbCrLf
packet = packet & "Content-Length: " & Len(strpost) & vbCrLf
packet = packet & strpost

Winsock1.SendData packet

Text1.Text = Text1.Text & packet

End Sub


Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
Dim data As String

Winsock1.GetData data
Text2.Text = Text2.Text & data & vbCrLf

End Sub



As you can see I want the GETDATA in Text2.Text but I recieve this error:


Code:
HTTP/1.1 411 Length Required
Date: Fri, 01 Aug 2008 13:57:24 GMT
Content-Type: text/html; charset=UTF-8
Server: GFE/1.3
Content-Length: 1357

{html code}


What's the problem?!

Thanks in advance.

How Can You Request A Webpage Using Winsock And HTTPS?
HTTP is easy to form requests with using winsock..
but how can you make requests to a https site?

WinSock Connection Request Error!
When I use this code for a winsock connection request:

Code:
Private Sub Winsock1_ConnectionRequest(ByVal requestID As Long)
Winsock1.Accept requestID
txtRecive.Text = txtRecive.Text & vbCrLf & "ChatX: Connection Request Detected."
End Sub


I get runtime error 40020:
Invalid operation at current state

when I hit debug it highlights that code snippet up there! HELP

Viewing Cookies Sent With Either Winsock Or INet Request?
Hello,

Is there a way that I can send a request via INET (Most Likely), and read the cookies which were sent with that request?

Thanks

Winsock Server Connection Request Problem
hey, this is my code


Code:
Private Sub wskServer_ConnectionRequest(ByVal requestID As Long)
Dim msgboxResult

msgboxResult = MsgBox("A connect request has been initiated by: " & wskServer.RemoteHostIP & vbNewLine & "Would you like to accept it?", vbYesNo, "Connection Request")

If msgboxResult = vbYes Then
wskServer.Accept requestID
isServer = True
End If
End Sub


now the problem is, whenever i run it, and have a client try to connect to it, this is the error the server gives me on this line "wskServer.Accept requestID"

---------------------------
Project1
---------------------------
Run-time error '40020':

Invalid operation at current state
---------------------------
OK
---------------------------

can someone help?


EDIT: and yes, i did try:
wskServer.Close
wskServer.Accept requestID

but it doesn't work. if u need 2 see my whole code to know whats going on, just let me know

Winsock/cookie Request Entity Too Large...
hi i'm sending a cookie header via winsock but i think it's to large cause I'm receiving a "Request Entity Too Large" in the HTTP Response. is there a way around this?

Winsock - Notification When User Accepts Request
Does anyone know of a way that an initiator of a Winsock connection can be notified when a user on the other end accepts the connection ? I'm new to Winsock, so my terminology might not be the best, but I'm trying to find out if the inititator has any way of knowing that a connection was made before any messages are exchanged?

Thanks for any help....

Does Anyone Have An Example Of How To Send A POST Request With Winsock And A Proxy?
I know how GET works with winsock and a proxy, but how can you use a proxy and use POST?

anyone have an example?

HELP: Winsock To Send HTTP POST REQUEST To A Machine
Hello,

I would like to use visual basic to send data to a machine using an HTTP Post request, and cannot decide on the best way to do it. Can I use winsock. Please bear in mind the following.

I am sending a mult-part message (kind of like an email with attachments). It's actually a multimedia message in the MM7 format -> this is similar to email, a multipart MIME message.

I MUST post to a destination using the following format:

http://192.168.3.75:2097/mm7

I need to then send the data which I've formated according to the MM7 spec.

I need to receive responses from the receving application.

Any help would be greatly appreciated.

Thanks

Ben

Winsock Connection Prob: "Request To Connection Time Out".
Hi All,

I am developing chat application like Yahoo and MSN messenger. Also i have almost completed it. I have two applications one is server appliation which will be run on chat server machine. the other is client appliation which will be used at any corner of the world.

Its working fine on my network. Ya, it is also working fine over network but with some misbehaviour. Sometimesm, it allow someone to login and sometimes it doesn't and gives "Request to connection time out" error.. I can't find the reason y it is happening.

I have developed this in visual basic and used winsock control.

Request ID's
Can I use one Winsock control on one port and assign a different request id for multiple computers.

Get Request
Hi,

I have been reading this forum almost daily for months now and until now I have been able to find all of my answers through searches but today seems to be the exception - and maybe that is just because I am dense.

Anyway, I am trying to talk to a SitePlayer device via the internet. Right now my device is set up on a local network so its local IP is 10.0.0.12

Now the html command for what I want to do, if I were to do it from a web page is:

<form method="get" action="task02.spi?baud=65406">
<input type="text" name="com" MAXLENGTH="80" SIZE="80"></input>

This creates a text box and when the page is reloaded, whatever has been typed into the text box is sent out the serial port of the Siteplayer.

Ok, so far so good.

Question #1: How do I send that EXACT same command, text box and all, from visual basic (preferably using inet)?

Question #2: How do I send the "Get command" along with the string from the text box without referencing the text box in any way...so if I have a string strdata and I want to send that to the Siteplayer via the Get command, what is the VB equivalent of the above HTML?

I know the answer is simple but for some reason the get command is evading my understanding. Any help is greatly appreciated.

Thanks,

Alisha

IE Example (request)
I was woundering if anyone could show me 2 examples in vb6 - such a newb to it trying to get the feel of it lol :P

1. type in the text box an hit the command button and it brings up that url

2. enter the url in the txt box and it opens it on the form using the webbrowser control?

id really appreciate it if sumone could show me these

Thanks

DDE Request
I need to add a dde call to an app that has no form can I do it.
I only know how to do it using an object to link it to


my example:

Code:
label1.LinkTopic = "TagServer|Tags"
Label1.LinkItem = i & ",IsTagInError"
Label1.LinkMode = 2
Label1.LinkRequest
Label1.LinkMode = 0
That is how I know to do it

Request For Help
I have worked with Informix 4gl language

Now I am studying Visual Basic

Two important things I have yet not discovered

a) How to validate a field , for example
if I have a field for entering person's age (age to include 30 - 60 only)
when person enters blank or enters invalid data how to check and bring
cursor back to the same field

b) How to generate a report. No I do not want to generate a report with crystal reports

Please help

Please, Second Request Of HELP
I just need someone to help to start

I have to create a form with 3 options buttons.
Brand A
Brand B
Brand C
I have to use a 2 dimensional table to be able to choose any of the above brands (A,B,C)and give me 7 different part numbers of each brand [(A,B,C)to change to [(partA,partB,partC,partD,partE,partF,partG)in Brand A]
[ H,I J,K,L,M,N)in brand B]
[O,P,Q,R,S,T,U] in brand C]
The information chosen wil appear inside a combo box.

Then, after the information is inside the combo box if you click any of the 7 different part shown in the combobox, will show always part1,part2,part3,part4,part5 inside another list box..

part A, H and O is the same part # 1 for the three of them
" B,I,P is the same part # 2 for the three of them
C,J,Q is the same part# 3 for the three of them
D,K,R is the same part# 4 for the three of them
E,L,S is the same part# 5 for the three of them
F,M,T is the same part# 6 for the three of them
G,N,U is the same part# 7 for the three of them


I HAVE TO BE ABLE TO choose from two approaches for the lookup table. Either store the part numbers on a two dimensional table or in an array of user-defined types.. In either case, I have to use the part number and brand entered by the user give to you, we have to end the project displaying part 1, or 2, or 3, or 4, or5, or6, or 7.


Any help will be appreciate.
I don't ask you to do the project, but if you want to finished I'll appreciate very much.
Angeletino

Help Request
Sorry if i place thing in the rong place i wasent shure whare i should put this
-----------------------------------------------------
i was wondering if there was any programmer who would help me with a progect. i want a page that people loggin and they can post a message like when they are about to post they put there name in then place a message.
------------------------------------------------
EG. Username: _____________
Story: ____________________
_________________________
_________________________
------------------------------------------------
and after people posts there story people can rate there story,this is what kind of thing im looking for.. http://n00bstories.com/n00bfiles.php

SQL Request
Hello,


can i do this :
ofr.Open "select distinct 0.Nummob from Offres as 0, Mobiles as M where Typofr ='" & OfrCmbo2.Text & "' and Operateur ='" & Ofrcmbo1.Item(0).Text & "' and O.Nummob = M.Nummob ", con, adOpenDynamic

my table:
Offres(Numofr, Typofr, Operateur, Nummob)
Mobiles(Nummob, Marque)

this code doesn't work, why?


thanks,
Bagbones

Request For Help With SQL
I'm trying to write SQL that checks a list of values (entered at runtime - it's just an ad-hoc query) and sees if they're NOT in a table. I tried this:

SELECT * FROM ('AAAA','BBBB') AS TEMP.ID
WHERE TEMP.ID NOT IN (SELECT ID FROM TABLE);

But, predictably, it said that AAAA is not recognized. This would be easy if there were two tables, but I just have the one table and the list. Does anyone know how to do this?

Thank you,


Steve Geller

How To Do This Web Request?
Hi,

I'm having another issue. I am trying to make an ad blocker in VB6, I know what I am going to do etc... In my hosts file i've placed it to redirect all ad sites to 127.0.0.1/localhost

Im trying to run a webserver (make it in a seperate component or exe file) and get it to return c:AdBlocklock.htm which will say a few words like ' an advert was blocked here'.

I've tried vb webserver examples but my problem is that they are
a) designed for multi files, i just want this app to return a single page not handle get requests etc...
b)they don't let me do this because they don't support INDEX.HTM/index.html so I can't just set it to run off a certain directory.

I am unsure because I know winsock but the example webservers don't have default starting urls:

In conclusion:

i want to make an ad blocker - can manage that.
in my hosts file i have specified requests to transfer to self
I want to run a VB6 app (i can shell it thru my ad blocker) which listens on port 80 for requests and when recieves a get request returns the page C:ADBLOCKlock.htm

I don't want it to equiv refresh or window.navigate because if I move the page to a 'Ad blocked' page, the user will lose their current browsing session. I want it returned straight throuh.

Thank you and I hope you can see what I am trying to achieve, I will appreciate any help on how I can do this.

Request
this is going to be an odd request, but I'm looking for a section of code.

Doesn't matter what its from, doesn't matter what it does, the more complicated the programming, and different characters/math it has in it, the better.

I need it for an art thing i'm working on.

the length of each line and the number of lines doesn't matter too much, as long as there aren't any big gaps. Probably between 60-100 lines.

if you can just post the section to here, it'd be appreciated.

Thanx

Help Request
does anyone know how to retrieve a link url for a text link on a website?

ex. http://www.vbforums.com and then retrieving the link url for "General VB Questions" and putting it in a text box

Help Request
Hi all

Currently I am using the code below in vb5 with out any problem when I link it with FILED TEXT in the MSAccess but , when I link it with FIELD NUMBER always I got problem with data1.refresh..

Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
searid_no = Text1.Text
strsear = "Select *from employee where id_no = '" & searid_no & "'"
Data1.RecordSource = strsear
Data1.Refresh
End If
End Sub


Any help to solve this problem will be so appreciated

Mohammed

Request For Bid
I'm pricing out an alternative strategy to an overall solution that has been proposed by a potential partner, so please understand that this will not constitute a firm offer but merely an invitation to bargain.

I'm interested in bids for software that will do the following:

(1) Monitor incoming e-mails stored on a server for retrieval by server users to determine whether each e-mail has been opened by the recipient;

(2) Where the software detects that the e-mail has not been opened/retreived by the recipient within a specified time (e.g., 3 days, 5 days, this should be a flexible setting), the software retrieves the message and

(a) Opens it;
(b) Reads it;
(c) Generates an audio file comprised of a synthetic voice reading of the text (it would be adventageous if their was a high degree of flexibility for the users to control preferences with respect to the nature of the synthetic voice settings used to generate the audio file);
(d) Which it then uses to either (a) insert a voice-mail message of the reading of such text into a linked voice mail server or (b) plays in a call into a remote voice mail server.

The bid should (a) include any licensing fees payable to third parties for usage of software elements proprietary to such parties and (b) assume that the software shall be solely proprietary to the client and created as a work made for hire.

Thanks for your attention I appreicate your bids.

ASP - While Request ......
Hai friends



actually, i'm creating dynamic text box in my asp page. In the second page
i'm calling the textbox using following codes,

My first page asp code is
=================

<%k=1%>
<%for i = 1 to int(orderqty)
for j = 1 to 4 %>
<%if j = 1 then %>
<center><table border=0 widthG5 cellPadding=4 cellSpacing=1>
<tr><td widthP%><font face="Verdana, Arial,
Helvetica, sans-serif" size="2">Key for Escan</font></td><td
widthP%><input name=<% = "txtfields" & i & j %> value="<%= "txtfields" & i
& j %>" size@></td> </tr>
<%end if%>
<% k=k+1%>
<%next%>
</table><br>
<%next%>

second page code
============
<%

a = "("""
b = """)"

for i = 1 to 1
for j= 1 to 1
temp = a & "txtfields" & i & j & b 'becouse my textbox
name is txtfields
Response.Write temp
next
next

%>

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



while requesting time it's takes all the first page vales,............
how to control the name of the textbox.



Expecting ur answer

Raju

Second Request: COM
ITtoolbox Portal for Visual Basic - http://visualbasic.ittoolbox.com/

Using VB6.0, I need the best method to develop a component that would behoused on an IIS server with the following features:



Open a database connection for SQL Server (both 6.5 and 7.0),


Open a database connection for DB2,(flat file)


Open a database connection for VSAM,


Open a database connection for Oracle (8i +).



This would need to be used from the follow platforms:



Open a database connection from a WEB page,


Open a database connection from a VB application,


Open a database connection from MsAccess,



Presently, I'm using Win95; Would NT 4.0 or Win2000 be necessary? Makingsuch upgrades in this corporate environment is difficult to say the leas.



The COM would use a table in SQL server to get the different database conection strings.



Any help would be appreciated.



Regards,

John

901.230.5132 Cellular

A Request.
i was wondering if anybody here will help me with VB like add me on msn and then guide me threw out amkeing my projects also that is there any good webiste where i can download or see a tout. for VB?...like i'm a beginner and all but i got enough skills to make my browser and stuuf.

Web Request
I need a way to either just request a web page, or post data to a web page. I've been using inet control, but I don't want my program to wait until the data comes back.

UTF-8 In A Request
Hi,
I GET a URL from the internet with winhttp, and in the source code of the page, there should be a few symbols like 'Ö','Ü' and so on, but the think is that these symbols in the responsetext of the winhttp look like 'Ã?','ü'.
How do I have to do so that the responsetext respect the original symbols and doesn´t create rubbish?
Thanks for yout help.
Jaime
(BTW, the page is in UTF-8 coded)

Sql Request
Hi

I have to do a request with two Acces table. In my first table, Employes, i have to take all the records that the field Name will correspond to the name enter in the textBox in one of my forms. in the ohter table, Input, the field Validation should be set to No, if is not the record is not good and it should be ignore.

How can i do that? Do i have to do some relation between this two table or we can to the request without it? The two table have a key NumEmploye.

Thanks a lot

*Help Request*
Hello, I've been tinkering with VC++6.0, and VB 6.0 on and off for a few years.
Now I'm trying to develop a program that should be fairly simple, and am searching the net to find any information I can.

What I would like is any one who has good VB or VC++ Experience to aid me 1 on 1 designing this program and I may be able to pay a bit here and there.
My Email is duston@webifyit.com, and I live in Phoenix Arizona. (Net only help is fine, but if you live around me that would be even better)

Now What I'm trying to do is simple. I want to load a file, or create a file (text, but not a *.txt file) change and add information, and re-save.
It is for makeing areas for a MUD. IT's a simple text file I'm trying to make with the following parameters in the file 1) %zone - Defines zone name and other zone-specific information.
2) %dil - Any special dil routines which you want to create for the
entire zone go here. Please note the this section is NOT
discussed in this tutorial -- please refer to the dil3.doc
and Icculus' dil tutorial for more dil information.
3) %rooms - The room definitions are here.
4) %mobiles - The mobile (monster) definitions are here.
5) %objects - Objects are defined here.
6) %reset - (**Important**) Defines the way in which everything in
the zone resets and how (mobiles&objects) get loaded into
their assigned rooms.
I will send you all the various information of what I'm trying to accomplish if your interested. An example would be like

#include &lt;composed.h&gt;

%zone wiz

notes
"No doors from any room outside of this zone should point to this
zone. Interconnecting rooms within the zone has been implemented
to make the reading of the wizboards easier."

help
"This zone is not intended for mortals - hence the name wiz."
creators {"quinn","god","gnort","carter","cabal"}

%dil

dilbegin aware watchdog();
code
{
:loop:
wait(SFB_CMD, TRUE);
log(activator.name+ " " + cmdstr + " " + argument);
goto loop;
}
dilend

%rooms

quest_hall
names {"quest hall", "quest"}
title "The Grand Quest Hall"
descr
" You have arrived in the vaulted Quest Hall, where gods discuss
the tasks they will set for mortals. Many devious schemes and terrible
secrets have echoed of it's ancient stones. The owners of this place
obviously have no need of exits, as none are provided."
movement SECT_INSIDE
flags {UNIT_FL_SACRED}
flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS, UNIT_FL_NO_TELEPORT}
east to builders_bar;
north to board_room;
south to history_hall;
end
dil_hall
names {"dil hall", "dil"}
title "The Grand DIL Hall"
descr
" You have arrived in the vaulted DIL Hall, where gods discuss the
non-trivial task of making the world a better place by the use of DIL."
movement SECT_INSIDE
flags {UNIT_FL_SACRED}
flags {UNIT_FL_NO_WEATHER, UNIT_FL_INDOORS, UNIT_FL_NO_TELEPORT}
west to quest_hall;
east to builders_bar;
north to board_room;
south to history_hall;
end

%objects


dil_board
names {"dil_board", "board"}
title "the dil board"
descr
"In the middle of the void a bulletin board hangs unexplicably."
special SFUN_BULLETIN_BOARD "dil L200"

HIT_TRANSFER(+5)

end

builder_board
names {"builder_board", "board"}
title "the builders' board"
descr
"A bulletin board for world builders stands tall here."
special SFUN_BULLETIN_BOARD "builder L200"
end

%reset
load wiz_board into board_room local 1
load builder_board into builders_bar local 1
load dil_board into dil_hall local 1
load quest_board into quest_hall local 1
load time_board into history_hall local 1
load bell into chat local 1
%end

/*******END EXAMPLE*******/

As you can see each categorie %whatever can have as many listings in it as it wants with each followed by a end. I'm looking to add more features as I learn, but right now, I just want to be able to open this file, have my program have each section in diferent boxes. IE. the %rooms will load each section of it into seperate textboxes. IE descritpion name title exits etc.... And have a tab/scroll feature to automaticaly tab/scroll to the next "room" for editiong.
Ultimatly I'd like to have a map function that shows a graph paper type image, and right click on one to open a menu to say "add room" etc.. So I could make the "map" with a semi grphical interface, and then double click on the square to open the "room" box with a listing of all the room fields.

Please send replies directly to me at duston@webifyit.com
I'm, not looking for some one to make this for me, but guide me through it as i make it.

Thank you profusly,
Duston S. Horacek
duston@webifyit.com

A Rant And A Request
Ok, first the rant:

I'm really bummed out that the browser object that comes with VB6 doesn't have an appearance property that allows you to set it flat instead of 3D. It always has that 3d border around it. Something else that extremly annoying is that it always displays the vertical scroll bar even when the HTLM page being viewed doesn't span beyond the top and bottom of the browser object.

Now the request:

Does anybody know of an alternative browser object that lets you display as flat instead of 3D and doesn't show the scroll bars unless the HTML page being viewed is larger than the browser object?

Me Again-http Request
im using the inet control to make an http request. the server requires basic authentication (use of .htaccess and .htpasswd files for those of u who know about webservers, at least thats how it works with apache)

the problem is i dont understand how to authenticate.
i tried the usernameassword@site.com which a) is less secure so id rather not use it and b)it didnt even work

here are the specs
http://www.zoneedit.com/doc/dynamic.html#faq11

i need to be able to authenticate my username and password, and provide the host parameter

i have no clue how to do this with the inet ctrl.
plz help

Request Tutorial
Hi

Could anyone please give me a link where I can get some tutorials and info on how i can implement a simple client and server environment in VB.

i want to be able to send an entire FORM for display from one comp to another in a simple peer to peer network.

be grateful for any help

Cheers!

Anit

Tutorial Request && Some Help
Ok I read the "READ THIS FIRST" post but winsockVB has closed down so I just thaught id ask here for some help.

Well I have this game I have created and I fancy getting it to work online so me and my college friends can waste time playing each other rather than actually doing work haha.

Its a card game where the player dukes it out with his/her intelligence and skill to conquer the opponents card if I get it to work online ill be sure to not only give a mention to whoever is nice enough to help me ill post it so you guys and gals can waste your time on it too, rather than doing something constructive


I have no prior experience with winsock at all, just was reccomended by somebody I know to use to get the online functionality.

Thus I need a good tutorial on how to set up a client/Server structure with winsock and how to get it sending and recieving data to and from a database (if that is possible).

So people get the idea of what im attempting to do ill explain. I want it so the player can sign up on a website this creates the account in a database. (I have php and SQL experience and I have experience with Access too)
Once account created the player can log into the game, this takes them to a "lobby" where they can chat and create or enter a game with another player. Once in the game they can choose out of their deck 5 cards to play with (their deck is saved on the database) they play the game and the winner takes one of the losers cards to be added to the winners deck.(this again needs to send data to the database) They gain X amount of points for the win depending on the time it took and the amount of cards they won by. (this again is saved on the database) they go back to the "lobby" and the fun starts again.


This game was origionally created for a project in college, but my college friends and tutors all said it was an exceptional game and seem to spend too much time playing each other. So me being me and liking the near impossible challenge decided id try and make it online.

Any tutorial and help would be great thanks ZAFF.

Connection Request
Greetzzz,

I am working with a client and a server. There is no problem when i connect to the client , but when i close the server, and try to run it again ( button: connect) i get the error , the connection is forcefully rejected.

on the client side i have:

[vbcode]
Private Sub Winsock_ConnectionRequest(ByVal RequestID As Long)

Winsock.Close
Winsock.Accept RequestID
end sub
[/vbcode]

on the server side:
(with or without, it doesn't matter)

[vbcode]
Private Sub Form_Unload(Cancel As Integer)
Winsock.Close
End Sub
[/vbcode]


It is only when i close and rerun the client that i manage it to work

Pac Man {tutorial Request}
Hey does anyone know where I could find a great tutorial on how to make a simple pacman like game?

HTTP Request
Hi,

I'm trying to make a application in visual basic where I need to block a HTTP request (URL) from a browser and display a default pae from the cache. the default page entry should be made in the cache in such a way so that the URL doesn't change. means instead of the actual page that will be returned i need to show another HTML content.

any help will be highly appreciated.

Thanks in advance.

Raj

Problem With Request
I am currently working on a small project for a small community college and I was asked to provide a way for when an administrator logs into the program send a message through the network to other computers telling them that a change might occur and that the data they are viewing at the moment might not be updated, "Something like that the exact message is not final yet?" But basically to let another user know that the admin will be making updates to the database. Now I have played with NetSend and I did get it working somewhat.

My only problem is that some of the computers in the network have disabled the use of network messages be sent or being displayed. So I just wanted to know if anyone has ever been asked for something like this before, and if you have what did you end of doing? Any help is greatly appreciated.

--by the way just incase you need to know I am using Access as my database.

SIMPLE REQUEST
Hi Guys,

I'm trying to do simple operations in a Word macro, such as minimize documents, and close documents, after a mailmerge.:
Everyting works fine, up to the end when I run

Activewindow.windowstate = wdwindowstateMinimize
Activedocument.close

it gives me a run-time Error '5989': Cannot set the state of an inactive window.

How do I get that **** window activated?

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