Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

BlackRider

@BlackRider
About
Posts
35
Topics
23
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • noob's guidelines for a web application
    B BlackRider

    Hello everyone, I am a complete noob at web programming. I have a text interface application written in Python which I would like to web-"interface". The application produces mostly graphs ... the text interface is object oriented, the user can define the curves that he wants to put on the graph, how the graph looks like and how the page looks like ( curve, plot and document object ). The configuration files are in xml. So, what my web application should do, is: to present the user with the posibility to edit different options the language i will be using should be powerfull enough to allow me to group options in objects and be able to create new objects easily ( ex. you can have more curves on the plot ), should be able to easily work with xml files. send the request to the application on the server ( and maybe be able to save request ) display the resulting image that resulted from the call. Soooo, all I would need is some guidelines, because, since I am a noob, I don't even know where to start from and what to use. Plase help and sorry for the noobness. Cristian

    Web Development python sysadmin data-structures xml oop

  • WML
    B BlackRider

    I'm trying to make a little demonstration of WML pages on Smartphones/Pockes PC's. Why is it so hard to get a little emulator for that ? I just installed eVC++ 4.0, sp2, Pocket PC sdk just for a little emulator ... Now can someone please tell me how to start the emulator, cause there's a lot of documentation on using the emulator but nothing on where is located or how to start it .... Excuse my stupidity but it's the first time I use these tools ...

    Mobile c++ tools tutorial question

  • Pocket PC Emulator again
    B BlackRider

    I think I have to install eMbedded Visual C++ first ... Is that true ?

    Mobile help tutorial com question

  • Pocket PC Emulator again
    B BlackRider

    Heloo, I'm trying to get a Pocket PC Emulator to display some WML pages on it. I just downloaded the Pocket PC SDK from Microsoft but I'm having difficulties at launching the Emulator. Can anyone please guide me on how to do it ? Please I'm so desperate .... I'm launching EmuASCfg /PPC . Is this correct ???? But when I do that (or smtg else) I get an Error System.Runtime.InteropServices.COMException ...:COM object with CLSID ... is either not valid or not registered at EMUASCfg.PlatMan.Init() Exception Caught And everything I do I get errors Please help

    Mobile help tutorial com question

  • Pocket PC emulator
    B BlackRider

    Did u try to actually download the file ? This is where I get the error ...

    Mobile

  • Pocket PC emulator
    B BlackRider

    I knew about that ... I get a cannot display page ... currently unavailable. Does it work for you ? So that I know if it's coming from me or from Microsoft ... Thank you !

    Mobile

  • Pocket PC emulator
    B BlackRider

    Is there any other Pocket PC Emulator on the Internet ... because the Pocket PC 2003 SDK from Microsoft is not available ... Thank you !

    Mobile

  • ASP Session again
    B BlackRider

    Seems to be working (for now) ... thank you !

    Web Development javascript sysadmin help question learning

  • ASP Session again
    B BlackRider

    Don't mind the fact that I'm not closing the recordset and the connection. In real life I do that ... :) The problem is that I want the test1.asp script to display the content of the Session("UserName") but I am not succesful because I get an error saying that : Error Type: ADODB.Field (0x80020009) Object is no longer valid. /meteo/test1.asp, line 3 Here is the code: test.asp <%@ language="Javascript" %> <% var Connection,Recordset; Connection = Server.CreateObject("ADODB.Connection"); Recordset = Server.CreateObject("ADODB.Recordset"); Connection.Open("Clienti"); var strSQLQuery = "SELECT * FROM clienti WHERE nume_utilizator = \'" + "radio" +"\'"; Recordset=Connection.Execute(strSQLQuery); Session("UserName") = Recordset.Fields("nume_utilizator"); Recordset.Close(); Connection.Close(); Response.Redirect("test1.asp"); %> and test1.asp <%@ language="Javascript" %> <% Response.Write(Session("UserName")); %>

    Web Development javascript sysadmin help question learning

  • ASP Session again
    B BlackRider

    Hello, I've got the following code test.asp <%@ language="Javascript" %> <% var Connection,Recordset; Connection = Server.CreateObject("ADODB.Connection"); Connection.Open("thesourcename"); var strSQLQuery = "SELECT * FROM clients WHERE .... " Recordset = Connection.Execute(strSQLQuery); Session("test") = Recordset.Fields("user_name"); Response.Redirect("test1.asp"); %> and I've got another code ... test1.asp <%@ language="Javascript" %> <% Response.Write(Session("test")); %> Someone PLEASE tell me what am I doing WROOOOOOOOONG bacause ASP is driving me crazy. The book sais that the Session object should store the values from page to page. I get an ADODB.Field no longer available error message. Could someone please tell me why ????????????????? I've got almost the same code in VBScript and it works .... WHAT'S WRONG ?? Thank you !

    Web Development javascript sysadmin help question learning

  • Comparing strings
    B BlackRider

    Hello, I'm a real rookie so pls don't laugh ... How do I compare 2 strings ? I have this code: var strPassword=Request.Form("pass"); var strSQLQuery="SELECT * FROM clienti WHERE user_name=\'"+strUserName+"\'"; rc=conn.Execute(strSQLQuery); if (rc.eof) {Response.Write("User or password incorrect");} else { if ( rc.Fields("password") == strPassword) { Response.Write("Welcome"); } else { Response.Write("User or password incorrect"); Response.Write(strUserName+strPassword); Response.Write(rc.Fields("user_name")+rc.Fields("password")); } } Can anyone please enlighten me why it never enters the "if ( tempPass == strPassword)" even thought when it enters the second else it shows the strings to be identical ?

    ASP.NET question

  • Reading a jpeg file
    B BlackRider

    It still doesn't work. You know whats funny ... when I do a copy paste of the contents of the jpeg it pastes nothing. So I guess it doesn't recognize the characters ... Someone ?

    C / C++ / MFC help tutorial question

  • Reading a jpeg file
    B BlackRider

    The problem is not the copying to the CString. The problem is that the buffer is already at 4 bytes before I copy it to the CString. That's the problem and thats what I don't understand ... when I do the DWORD dwNumberOfBytesRead = imageFile.ReadHuge(buffer,1000000); dwNumberOfBytesRead reports 127235 and thats exactly the number of bytes it's supposed to read; but the contents of buffer is only 4 bytes. So , I guess it's because of the character set I use. What can I do ? You try reading a jpeg and you'll see

    C / C++ / MFC help tutorial question

  • Reading a jpeg file
    B BlackRider

    Hello, I'm trying to read a jpeg file using this code: imageFile.Open(fileTitle,CFile::modeRead,&e); imageFile.ReadHuge(buffer,1000000); imageFile.Close(); ReadHuge reports reading the whole jpeg file; the problem is that all I've got in the buffer is 4 bytes. I guess it's something with the character set; I don't know ... Can someone help me with an example ? How should I be reading the file ?

    C / C++ / MFC help tutorial question

  • How to restore my application instead of running a new instance?
    B BlackRider

    You could try to define a hook to maximize your app when you do smtg ... Or you could hit ALT-TAB :)

    C / C++ / MFC tutorial question

  • CFile::ReadHuge question
    B BlackRider

    Hello everybody, I'm reading a .jpg file, everything goes fine, readhuge reports reading the hole file but what I've got in the buffer is just 4 bytes. What is ReadHuge reading ? code: buffer = new char[1000000]; if (buffer == NULL) { cout<<"Not enough memory"; return; } try { imageFile.Open(fileTitle,CFile::modeRead,&e); imageFile.ReadHuge(buffer,1000000); imageFile.Close(); CString output = header + buffer; imageFile.Open("msg01",CFile::modeCreate | CFile::modeWrite,&e); imageFile.WriteHuge((LPCTSTR) output,output.GetLength()); imageFile.Close(); delete []buffer; }

    C / C++ / MFC question performance

  • Avi files
    B BlackRider

    Can someone please guide me to some avi programming tutorials, articles. Reading, playing, playing certain parts of the avi, play by frames etc. Thank you!

    C / C++ / MFC tutorial

  • Communication betwwen classes
    B BlackRider

    What I meant is communication between two generic classes, not necessarely the Document and the View class.

    C / C++ / MFC question

  • Communication betwwen classes
    B BlackRider

    I've got a rookie question. In an SDI or MDI app, in the View Class I can get a pointer to the current instance of the Document class and I don't have to create a new instance of CDocument. So ... If I have two independent classes, what is the procedure, what do I have to do so the classes see eachother without declaring new instances of them ????? Thank you!

    C / C++ / MFC question

  • CPropertyPage
    B BlackRider

    The CPropertyPage constructor looks like this CPropertyPage( UINT nIDTemplate, UINT nIDCaption = 0 ); Now the second argument (the UINT nIDCaption) comes from the string table. What if I wanna create multiple tabs from code without knowing how many I'm gonna open. I can't make a string table entry for every tab I wanna make cause I don't know how many I'm going to create. So how can I modify the string that I give to an ID from code ???? Is that possible ?

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups