o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

need to convert this code -

hi everybody !
i need to convert this javascript code to visual basic code for VB6
Code:
//=======================================
//UniVoice Functions
//=======================================

function KeyDown() {
 if (event.keyCode==17) NetPhone.ocxCtrlButton(true);
}

function KeyUp() {
 if (event.keyCode==17) NetPhone.ocxCtrlButton(false);
}


//=======================================
//Additional Misc Functions
//=======================================

function Enter() {
 if (user_name1.value=="") {alert("Please enter a username before trying to enter the voice chat"); return;}
 NetPhone.ocxEnter(hall_address1.value,hall_port1.value,user_name1.value,password1.value,user_icon_id1.value,room_id1.value);
}

function EnterRoom(id) {
 NetPhone.EnterRoom(id);
}


//=======================================
//Disable Framing
//=======================================

var allowframe=false;
if (self != top && !allowframe) top.location.href='http://www.golobaz.com'


//=======================================
//Display Close Window Confirmation
//=======================================

//window.onbeforeunload = unloadMess;
//function unloadMess(){return "Closing this window will disconnect you from the voice?"}


//=======================================
//Disable Right-Click Menu
//=======================================

document.oncontextmenu = onContext;
function onContext() {return false;}


//=======================================
//Cookie Procedures
//=======================================

function saveName() {
 var date1 = new Date();
 date1.setTime(date1.getTime() + 365 * 24 * 60 * 60 * 1000);
 if (user_name1.value!="") setCookie("uniname",user_name1.value,date1)
}

function setCookie(name, value, expires) {
  var curCookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "")
  document.cookie = curCookie;
}

function getCookie(name) {
  var dc = document.cookie;
  var prefix = name + "=";
  var begin = dc.indexOf("; " + prefix);
  if (begin == -1) {
    begin = dc.indexOf(prefix);
    if (begin != 0) return null;
  } else
    begin += 2;
  var end = document.cookie.indexOf(";", begin);
  if (end == -1)
    end = dc.length;
  return unescape(dc.substring(begin + prefix.length, end));
}
Thanks for Help

 

help convert C++ into VB code -
Hi all. I have got some code that takes a bitmap, loads it, does some calculations and then displays the new image. My porblem is that is in Borland C++ version 3.1 for windows 3.1 My c++ is not great, so I am trying to convert the code into visual basic code. Firstly, will that be


Convert Code to C# -
I know how to convert code in C# to VB.NET. But in this one small instance, i want to convert code from VB.NET into C#. Does anyone know of a utility/webpage that does this? It's not a lot of code. Only maybe 10 lines or so.


Convert mp3 to mp2 -
I will develop an application that will convert a mp3 audio file to a mp2 audiofile. I think I must first convert the mp3 to wav, and then the wav to mp2. But how can I convert this files. Is there a dll which can do that?


How to convert tif to jpg -
does anyone have some simple code that will convert a .tif to a .jpg? I have the intel Jpeg controls, will these convert from the tiff format? I know this has been asked before, but I've never seen actual code w/ comments.


Convert in SQL -
Hello, I'm looking for a Convert-function in SQL. I know there's something like CONVERT, but Access doesn't accept this. Can anyone tell me how i can convert data in SQL, in a way that works?


convert it -
Hi i want to ask that i have a code in vb i want to convert it to c++. is there any tool to convert any proogramming language to the other.


Convert Access 2.0 to 97 or 2000 -
Is there a way to convert Access 2.0 to Access 97 or 2000 or does it do it automatically. I know you can go to Database Utilities and then click convert, but it doesn't give me the option to convert it to 97. I think when i open it transforms it to 97 right there. IF so, would


T-SQL: convert 200804291228 to datetime -
I would like to convert "200804291228" to "Apr 29 2008 12:28PM" using T-SQL. I tried using the convert function, but I get the error: Conversion failed when converting datetime from character string. Here is the convert function: convert(varchar(25),convert(


Convert RTF file to PDF -
I have code that creates a set of rtf files. I would like to write something to automatically convert these files to pdf. Distiller will convert Postscript files to pdf but how do I convert rtf to pdf? I am using VB to generate the rtf files, but do I need to write more vb code


Convert huge Hex number to Decimal -
Dear guys I am trying to convert huge hex number to dec in Vb6 but I couldn't manage . I found one function which it could convert 23 hex number to dec but I want to convert more for example 300 or even more. I would like to ask you guys if you have source code for that ,please post


PostScript to PDF conversion in ASP -
Hai I need to convert from PostScript files to PDF files in ASP(or any other way, but through web programming). You can see this site to find what I mean.. http://www.ps2pdf.com/convert/convert.htm Thanks BYE BYE R.K.T. Ashoka


convert DLL into vb6 source code -
Hi, I missed my visual basic 6 source code . but i have DLL file of the source code. Help me.. how do you convert DLL into source code. is it possible in vb6? I have vb decomplier lite software. but it wont convert source code format. Regards selva


how to convert .mdb file into VB -
Hi.. I have one .mdb file which has forms ,tables, report ..etc. Now I want to convert this file into VB and SQL server as backend. Is there any easy way to convert this files or any software available to convert this file into VB and SQL. Regards Nitesha


need to convert Chr$(56) to what it is -
hello everyone... recently i was learning to play with Chr$(99). but now i need to convert Chr$(56) to its original form like whatever letter or number it is i need to convert to it... example i need to convert a line of code to its original letters or numbers like Code: Ch


DLL to convert bmp to gif -
Hello All, Is there a dll (freeware?) to convert bmp to gif?, the images are on disk, not in a pic control, I found some dll's to convert from bmp to jpg, but I would like to save them in gif format. I would like to do it with a dll, not a class. Thank you in advance


How to convert values in textbox -
I am using Microsoft Visual Basic v6.0 Anyone can show me how to convert the values in textbox? Example: I key in '10' into the textbox, but i want to convert it into '30' If possible can show me a few so that i can use it as a template to manually convert the data. (I need to


Need Help From You Guys -
Hi First thanks for reading my message. i need help in VB. i am doing a programme that can do convertion in text, But i face a lot of problems cos i am new to this VB. The Programme i am doing is to read a textfile and then convert it into another textfile. example... this is the t


Anyone Know Any Code Converters -
Hi, i was wondering if anyone knew where to get a good program to convert C++ code to vb.net code? i've tryed the ones online and they are ok but i need one that is well known and i can use without internet.... i work a lot with people that use c++ and frankly im not ready to learn a w


Converting .NET to Java -
is there any software available that will convert .net code/bytecode to java code/bytecode or run .net code from within the java vm? i found Grasshopper from Mainsoft, but that will only convert ASP.NET. i was looking for something that will convert applications using system.window


Time format in SQL -
Hello, I am taking datetime value from a table MA and separating date and time by using CONVERT function. CONVERT(VARCHAR(12), MA.ArrivalDate, 101) AS ArrivalDate, ' CONVERT(VARCHAR(12), MA.ArrivalDate, 108) AS ArrivalTime, but my ArrivalTime is coming as 13:01:00. I want to


Is there a tool to convert vb project to vb.net project -
I am wondering if there is any existing tools or softwares that allow me to convert all my vb project codes ... to vb.net project code ? I want to convert my hard work vb project to vb.net so that it can support unicode and utf8 better. However, if I recode it in vb.net ... I have t


How can i convert an image from 24 bit to 16 bit -
How can i convert an image from 24 bit to 16 bit Hai, I am developing an application in vb in which i had to transfer images from a client system to the server. I need to convert these images from 24 bit to 16 bit pixels. Can anyone help me in doing this ? I need some method


Someone good at c++ to convert to vb -
I have a small snippet of code I need to convert from C++ to VB. Some of the functions I don't know and how you'd convert the math it calculates to VB is also unclear. If you have aim my screen name is: FireBot ipt MSN: fire_bot@hotmail.com I want to keep this private so if y


[2005] convert html to pdf -
are there any references I can include to convert html to pdf? Would it be possible to convert the raw html code to pdf? So I can just ConvertToPDF(HTMLCode as string). Instead of outputing the html as a .html and converting the filetype to .pdf.


convert every jpg in folder to tga file -
I have a folder with around 400 jpgs in it, and i need to convert them into .tga file, but i really dont want to open them up one by one in psp7 and resave them, so does anybody have any code on how to convert jpg to tga?


How do i convert a vb.net project into an .exe -
Hey guys, help me with this problem.... i'm still an amatuer in vb.net. Anyway this is my problem... in vb6 to compile ur project and convert it to a .exe file its just clicking to file-->make projet.exe. How do i do this process in vb.net? how do i convert my projects in vb.net


convert Dev C++ to vc++ -
i've got a dll written in Dev C++ that i want to convert to a vc++ dll. i've got absolutely no experience with c++ and ideally i'd like to be able to convert it to a vb.net dll eventually. can anyone suggest a good tutorial where i can do a crash course in c++? i can't see the


Convert Access 97 db to 2003 using VB -
Hi guys, I'm trying to upgrade an Access 97 db to 2003 using vb as part of the upgrade process for an app we have. I've found lots of code to convert from 97 to 2000 using the Jet object to compact the db, but I cannot find code anywhere to convert to 2002-2003. Any ideas? Ch


Hex Converting -
How dow you convert from and to Hex. I know how to convert to hex with hex(). How do you convert back from hex to decimal.


How to convert Macro to VB application/exe -
I have a Word Macro (written in vb). Can I convert this code to a vb application/exe that can be run by NT server on a sceduled basis? If I can convert this, then how do I go about doing this? I am very new to visual basis and internet. any help will be appreciated.


COnvert text... -
Ok so im making a program that has two tetxbox's and two botton's. its supsoed to convert the text in textbox1 to a code i created in textbox2... what would i do so that when an "a" is entered into the box it shows up as "100" in the second box.. im working with


Convert Access2000 to vb6 -
Hello, I have an Access app with I want to convert to VB. The performance in Access is poor. Is there any way to convert at least part of lets say the forms and maybe the reports of do I have to start from scratch. Kind regards, Piet


Numeric to text Converter -
Is there any function that convert number to text? Eg: convert 230 to two hundred and thirty convert 1000 to one thousand


How to convert RTF to html -
How to convert the content of RichTextBox provided that the color of text and the size of font remain the same when convert to the html.


[2005] need free tool to convert the C# project to vb.net project -
Can anybody suggest me the location containing the tool that can convert the whole project created in C# to the project code in vb.net. I've found various sites containing the feature that convert only the single page of code. but as I dont know the structure equiualence of C# to vb.ne


Ado. -
I have a samll program of VB6 and i need to convert it in VB.Net. all the features are easy but it have 3 ADO control in it and the DB is Microsoft Access. CAn anyone tell me that what i should need to do to convert this to ADO.Net plzz. Another thing is why I cant run an applicati


how to make a ascii convertor -
hello everybody, i now have a new problem. i need to make myself a program that will convert a word into ASCII chr. i mean i want to convert "word" which is in my Text1.Text. after i click the convert button, the text1.text will put the output in Text2.Text as Chr$(119) +


Please Help me with DB2K!!!! -
Dear All, I'm working on DB2K right now. I have to convert some code from DBase 5.7 to DB2K. I have several questions. Would you please help me if you can? Thanks alot, NN PS: 1) Do you know where I can find a good Dbase 2000 book? I go to Border, but they don't have any bo


How to convert picture formats -
Is it possible to convert pics of bmp to gif and jpg? If yes, please give me the code or the link to it.


Convert Char to ASCII code -
Helo! Any idea ya? Or i should convert one by one?