Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: SMURF75
  • Content: Threads
  • Order by date
  1. SMURF75

    Constants on msdn

    Hi When searching msdn for answers, often you find methods where the possible return values are descibed as constants. (Atleast when working with apis) for example: How am I supposed to know what PROCESSOR_ARCHITECTURE_SHX has for value? I dont want to guess :D So, easy question does anyone...
  2. SMURF75

    Different ways to p/invoke?

    Hi! I'd like for someone to please explain something about p/invoking that i havent managed to find out else where. I believe that following two snippets both are p/invokes? <DllImport("rapi.dll", CharSet:=CharSet.Unicode)> _ Private Shared Function CeRapiUninit() As Integer End...
  3. SMURF75

    Is Public sub new needed?

    I see "public sub new" every once in a while in some classes, without any code else than "mybase.new" inside. So why does one create such a sub when it obviously work without it? Am I missing something vital here.. or is it just old habit or for readability some people put it there? - - - - -...
  4. SMURF75

    Authenticate

    Hi I am printing a document using unc and wlan. But when sending file.copy() the remote host, or ppc(dont know which since its the same when everyone got full access to the printer) wants me to fill in my network credentials. Theroretically that would only apply to the first time and then the...
  5. SMURF75

    Determine if socket is connected

    Hi! I have a sequence where i create,open and send data to a socket. My problem is that if the IP thats used as end point not exists the socket still thinks its doing everything okay. And after the end of the transmit I stand there without any receipt(the data goes to a network printer who...
  6. SMURF75

    PCL and swedish letters

    Hi! Im kinda stuck, and happy i found this pcl forum. My problem is the swedish letters. I have bytes encoded to utf8 and sends them to a pcl printer. It all works fine except when it comes to the swedish characters 'åäö'. I think i have figureds out that the pcl printer accepts the bytes as...
  7. SMURF75

    dataset -&gt; xml -&gt; filestream

    Hi! I have data in form of a dataset in my program, I want to make it to xmlformat, and then to a stream. I would prefer to do that without saving the xmldata to file. Anyone any ideas? The reason i go this way is that the xmldata is to be stored encrypted and the cryptoclass works with...
  8. SMURF75

    Dataset creation

    Hi! My problem is following.. I really suck at dataset and xml :D Or another way to put it. I want my xmlcode to look like <data> <element1>yadayada</element1> <element2>yadayadayada</element2> <subdata> <subelement1>ya</subelement1>...
  9. SMURF75

    Copy dataset

    Hi! The thing im trying to do here is to use dsOldSession as a copy of dsSession, so if user returns from fRefill he can work with the dsSession again without the changes i do before i show frmRefill Public dsSession as New Dataset Private dsOldSession as New Dataset Private Sub...
  10. SMURF75

    Delete row from dataset and write to xml

    Hi! Im running out of ideas here. Im trying to delete a row from my dataset which is retrived from an xml file. I can add rows fine, but when I try to delete a row I get a lot of "mumbojumbo". The xml file gets really messed up with elements in disorder and duplicate rows. my current code...
  11. SMURF75

    datasets to xml

    Hi I just cant get this to work. The idea is to add a user to an xmlfile. It works when when a new file is created. But when i want to add a dataset to an existing file it fails. Try Dim dsSet As New DataSet("Users") Dim dtTables As New DataTable("User")...
  12. SMURF75

    Compact Framework Databases

    I need to use a local database for my PPC, and i cant find any good tutorials or anything about the subject. Right now the data is stored in an xml-file, but for reasons i dont know im supposed to use a database? Can i for example create a .mbd database on my developer machine and copy it to my...
  13. SMURF75

    Count values in xml OR redim an array and keeping values

    Im trying to build a somewhat general function for returning xmlvalues. Currently im returning the values in an arraylist, which is working fine. Problem is that that im assumed to use option strict on in all files. And option strict doesnt allow string = arraylist.add(object) So possible...
  14. SMURF75

    vbtab and listbox

    Hi! Im doing something wrong here... obviously . Friend WithEvents lboInfo As System.Windows.Forms.ListBox . . lboInfo.Items.Add("Employee" & vbTab & oRefillData.UserId) . When item is added to listbox it shows as:Employee?A12 The way i want it to look is ofcourse:Employee A12 Any tips...
  15. SMURF75

    Eventhandler for arraylist

    Hi! Im trying to create a little cardgame for my mom :), and sending cards back and forth has my code look like a whole pot of spagetthi... so if anyone please know of a way to to link my picturebox.image to to the first object in my arraylist let me know about it. An eventhandler for...

Part and Inventory Search

Back
Top