836 Posted Topics
Re: Do be aware that the dev SQL server has limited connections too. | |
Re: 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 | |
Re: 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, … | |
Re: Long as you add them as resources you can use them | |
Re: 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.. | |
Re: Well. Debug, watch what happens as you go through the stages.. Especially looking at the newFont.Style property | |
Re: 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 … | |
Re: 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 | |
Re: 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. | |
Re: Well, google will perhaps help you in finding things in strings. There are a number of options you could use.. | |
Re: 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 | |
Re: Have you worked out the SQL you would need to run to put the data into your table? | |
Re: 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.. | |
Re: by the looks of your code it should be doing that. | |
Re: 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. | |
Re: 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 | |
Re: Whats wrong with the other question you already have a thread on this subject for? | |
Re: pretty much. Although you can tell it to generate only 1 .cs file with the form generated within it. | |
Re: What is the value of Server.MapPath("xmlfiles/deneme.xml") | |
| |
Re: fairly open question there, depends so much on how and what .. | |
Re: Well. What have you tried, and in what way didnt it work (please show code in code tags) | |
Re: 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. | |
Re: because \ treats the next character as litteral/escape so \\ actually would be \ in reality | |
Re: So. Whats your specific problem? You've told us the homework question, you have some code.. What problem specifically are you having? | |
Re: 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 … | |
Re: 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 … | |
Re: [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 | |
Re: Can you convert the updatecommand to string? And display it? it should give hints as to why its not working if you can | |
Re: You cant work like that what logic is it that produces such an effect? | |
Re: so you want to do a mail merge in effect, why not use office? | |
Re: 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 … | |
Re: Please use the search button this forum has a number of questions about getting data from excel with answers | |
| |
Re: You also need to stick with 1 thread on the same question | |
Re: 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 … | |
Re: 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) | |
Re: 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. | |
Re: Why run it as 2 queries, why not just run it as one? | |
Re: Crystal doesnt print access reports, it prints crystal reports. | |
Re: Does it have the same version of excel installed? | |
Re: Strings can contain line feeds etc | |
Re: 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? | |
Re: 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" … | |
Re: 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. |
The End.