836 Posted Topics

Member Avatar for MJV
Member Avatar for JerryShaw
0
146
Member Avatar for Pikachumanson

Well, your bmp, is it done the standard way of having in effect the 8 pictures side by side in say a 2 row, 4 column format? If so you have to copy the relevant "frame" out of that picture and place it on the screen

Member Avatar for LizR
0
130
Member Avatar for sid.coco

What Id suggest is look at the value of qry, check it visually for validity, if ok, then run it direct in something like msaccess or sql query builder or such, and see if you get an error, such as some value is a dup, its missing a required field, …

Member Avatar for ChaseVoid
0
166
Member Avatar for ctrl-alt-del
Member Avatar for Pikachumanson

if the white border is in the graphic, first thing Id say would be remove it from the graphic, if its not, you could consider programattically making the picture smaller..

Member Avatar for Pikachumanson
0
114
Member Avatar for cljlxwater

Well. Debug, watch what happens as you go through the stages.. Especially looking at the newFont.Style property

Member Avatar for LizR
0
108
Member Avatar for mfran2002

Depends, if the code comes with a PAS file with all the APIs you will need defined, use it. If it doesnt and only c code you will need to change a few variable types and depending on size of project, would say either add the function definitions on the …

Member Avatar for LizR
0
52
Member Avatar for chris5126

error 2 is caused by [code] string[] allData = sr.ReadLine();[/code] Read what it says. It tells you what the ReadLine returns, and whats wrong with your line. The first error is to do with your second error

Member Avatar for chris5126
0
172
Member Avatar for BobLewiston

With everything in .net being a class/object, what I think he means is if you were in c++ or any other lanugage, a data type such as int/string/char etc has no methods, its a datatype, whereas in .net, of course it has methods.

Member Avatar for ddanbe
0
189
Member Avatar for tintincute

Well, google will perhaps help you in finding things in strings. There are a number of options you could use..

Member Avatar for LizR
0
264
Member Avatar for mrk

Debug is your friend. You need to find the parts it puts together eg: Convert.ToChar(Col1)).ToString(); longRow1.ToString(), (Convert.ToChar(Col1)).ToString() ; longRow1.ToString(); and then the overrall axSpreadsheetASCIIop.ActiveCell.get_Range( (Convert.ToChar(Col1)).ToString() + longRow1.ToString(), (Convert.ToChar(Col1)).ToString() + longRow1.ToString()).Value2

Member Avatar for mrk
0
150
Member Avatar for chris5126
Member Avatar for LizR
0
204
Member Avatar for Dan301978

The only thing that will help you is your own motivation. There are many free tutorials, and cheap ones out there that aree good but all depends on what suits your learning style..

Member Avatar for ChaseVoid
0
140
Member Avatar for mo_Shaf786
Member Avatar for okarvian

You cna add the item as a resource to your application, however displaying it, maybe more complex if the user doesnt have the facilities to decrypt or use a relevant app to display it. That would be the bigger stumbling block.

Member Avatar for JerryShaw
0
120
Member Avatar for Potato.Head

then HttpWebRequest *IS* the answer, but you just have to do a little more work as by default the only thing you get is the file you requested, you'll have to work out what else you needed to download

Member Avatar for LizR
0
125
Member Avatar for MJV

Whats wrong with the other question you already have a thread on this subject for?

Member Avatar for bcasp
0
406
Member Avatar for thegreatkk
Member Avatar for BobLewiston

pretty much. Although you can tell it to generate only 1 .cs file with the form generated within it.

Member Avatar for sknake
0
346
Member Avatar for serkan sendur
Member Avatar for MJV
Member Avatar for LizR
0
125
Member Avatar for MJV
Member Avatar for Egypt Pharaoh
Member Avatar for MJV
Member Avatar for puk

Well. What have you tried, and in what way didnt it work (please show code in code tags)

Member Avatar for LizR
0
89
Member Avatar for MJV

Its a bad habbit to use gotos without purpose (which that would be) simple answer Make a method when you need it, call the method, wether its from that action or from your other code.

Member Avatar for Rashakil Fol
0
100
Member Avatar for sonia sardana

because \ treats the next character as litteral/escape so \\ actually would be \ in reality

Member Avatar for ddanbe
0
168
Member Avatar for thrasas

So. Whats your specific problem? You've told us the homework question, you have some code.. What problem specifically are you having?

Member Avatar for jsosnowski
1
192
Member Avatar for sonia sardana

Well other than this is NOT a java forum, this is for c# and theres a .net web forum too.. The first thing is that you would have to use some form of ajax type thing as you would need to ask the db if the usernames there - but …

Member Avatar for sknake
0
527
Member Avatar for MJV

Please use code tags - that code is hard to read correctly without - and its so simple to put them in. OK, your code is unclear if nothing else because you have a test to see if dunitsCB.Text says english or not.. You then switch on dieunitsCB.Text or dieunitsCB.Text …

Member Avatar for sknake
0
328
Member Avatar for bapu435
Member Avatar for loveforfire33

[code] for (i = 0; i == 8; ++i) { coinsamount[i] = pence / coins[i]; pence = pence % coins[i]; } [/code] Think of the for loop as a while loop it starts as i=0 then while i==8 it i++ so now you should see where it goes wrong

Member Avatar for LizR
0
108
Member Avatar for miskeen

Can you convert the updatecommand to string? And display it? it should give hints as to why its not working if you can

Member Avatar for tsci
0
2K
Member Avatar for picichinica
Member Avatar for pennyani
0
311
Member Avatar for rapture
Member Avatar for rapture
0
102
Member Avatar for papuccino1

1. Well the obvious answer is to look see if its there. 2. See 1 3 yes. Your statements sound like you have already been shown/explained answers. So Start with the first problem you need to find out if the data is new data or not.. Go with that.. attempt …

Member Avatar for sknake
0
182
Member Avatar for sid.coco

Please use the search button this forum has a number of questions about getting data from excel with answers

Member Avatar for sid.coco
0
123
Member Avatar for Acidburn
Member Avatar for cljlxwater
Member Avatar for samcaleb05
Member Avatar for LizR
0
231
Member Avatar for Digvijaysinh

is the remote server also SQL 2005? if so, and you know the DB format (presumably you made it or, you have a prefixed format from someone else) ensure you make tables on remote end if they dont exist and copy data table by table to from one connection to …

Member Avatar for LizR
0
71
Member Avatar for Ved_TheOne

Dont run the query twice? You have your code in a transaction, Im guessing it doesnt return the answer you want as the transaction doesnt close.. (Dont have an oracle to hand to test)

Member Avatar for LizR
0
106
Member Avatar for kvdd

OK, the showmessage is a dialogbox, all processing in your app stops when thats sent. So it probably does "eat" the second message if you click twice.

Member Avatar for kvdd
0
240
Member Avatar for thacravedawg
Member Avatar for itslucky
Member Avatar for itslucky
0
84
Member Avatar for KarthikOnIT
Member Avatar for jsosnowski
Member Avatar for GameboyHippo

I would have expected [code]theProcedure.ParamByName('Foo').AsString := 'bar' ;[/code] to work, however, only other thing is potentail case sensitivity - anything visible SQL end?

Member Avatar for sknake
0
174
Member Avatar for BradenMurphy

Other than your initial question seems an overly weird thing to do.. I cant think of why you would ever find yourself in a position to do what that code does.. but .. we'll ignore that.. Everything in .net is an object, so by turning it to a generic "tobject" …

Member Avatar for LizR
0
88
Member Avatar for wendas

Open both projects, and drag and drop the form from one to the other, it should copy all the bits it needs - it did for me.

Member Avatar for LizR
0
906

The End.