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...
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...
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?
- - - - -...
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...
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...
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...
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...
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>...
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...
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...
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")...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.