- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I have a question involving interaction with oracle. I have a program that submits data to a SSRS report which is pulling data from an oracle database. Basically what I need to do is have a string of text passed in and return all records where a job id field … | |
So I am trying to create a console app to parse text files. I am using a streamreader to read the text in until I reach end of file. The text file I am reading as 22945 lines. Right now I am just trying to read the entire file and … | |
Re: Well the number is already represented in binary in the machine. You could convert it to an acii representation and check the string for ones but that is over complicating it. First off you need to check the number to see if it is a power of 2. If so … | |
I am new to android development and I have been asked to create a do not call application. Essentially what this app will do is allow the user to store data on the device and then submit it to the do not call database. I have all the UIs created … | |
I am not sure if this is the right place to post this or not. I have a C application that I have written for linux that I would like to write a GUI for. I am trying to get up an running using GTK. Can anyone direct me to … | |
I have a form with a table bound to a binding navigator. When I add a new record and commit it to the database I have to query the DB for the id of the record in order to to cave other records associated with the new one. The only … | |
Re: The way I do this is with a dataTable and dataRow [CODE] dim dbTable as dataTable dim dbRow as dataRow dim rowCount as int32 Dim dataAdapter = New OleDb.OleDbDataAdapter("SELECT * FROM table ORDER BY ID", con) dataAdapter.Fill(dbTable) rowCount = dbTable.Rows.Count For i As Int32 = 0 To rowCount - 1 … | |
I am trying to use the validation event for all my validating on a form. However, if I try to exit the form before entering data the validation event will not allow it to exit. Does anyone know how to override this? | |
I have a combobox that pulls a list of values from a database. When a new entry is entered I want an entry in the combobox to read "New record". However, from what I have seen I can only insert and object, such as a DataRow, into the combobox. Is … | |
I have been looking over some old vb 6 code and I noticed that there was a way to set the index of a listbox to a new value. For instance, if you wanted to populate a listbox with items from a database you could assign an id value from … | |
I am new to writing assembly in linux and I need help with the sys_read call. I am using nasm and I would like to read input from the keyboard. I know how to set the call up but what do I use for the file descriptor. I can not … | |
Re: maybe because you're comments are needlessly critical. helping each other works a lot better than stabbing, in the long run. Yes We do try to help people but jwenting has a point. There are a lot of people that get on here wanting answers but are not willing to put … | |
| Re: ok it's been a while since I have done this but just from a brief view of your code I think you are right. Unless I am mistaken I believe you have to strip the carriage return and append a null termination character at the end of your string when … |
Re: Well first of all the declaration of the string should not be in the .text section and there should be a name associated with it. The second problem is that you are doing a call to code when you should just do a jump. However, even if you fix all … | |
Re: Not sure I follow you but I will try to explain. This sounds like a homework question so I will not give you the answere but will try to lead you in the right direction. Each hex digit represents four binary bits. So that means two hex digits represent 8 … | |
Re: I believe the code listed below is giving you oyur segmentation fault. When the branch is taken you are not poping your stack and the return address is burried under everything you pushed. You should change your label to. It should be something short but descriptive. A lot of people … | |
Re: Well first of all it depends on whether you are doing 16 or 32 bit and what assembler you are using. If this is 32 bit code you do not have to set the ds segment. As far as the assmbler I am only familiar with masm and nasm. The … | |
I am attempting to write assembly code for linux using nasm. I have an include file containing io functions that was originally written for windows using masm and I am trying to convert it. I have on procedure that I am having problems with. The procedure is supposed to recieve … | |
Re: It sounds like you are burrying your return adress on the stack. One potential problem is that you make four pushes and one path is to jump to endpr, which only makes two pops. so if you enter the procedure and al is not equal to 0 the first time … | |
Re: Firs of all what assembler are you using. The main problem is that you can not move a word to a byte. That is what you are trying to do when you do mov al, dx. Second, if dx is an offset you should be using si ( I am … | |
Re: I am assuming codeseg is the start of your code segment and I believe that is where your problem is. Your variable needs to be defined in the data segment. I am not sure what assembler you are using but I am only familiar with NASM and MASM. In MASM … | |
Re: Try declaring the array as a byte array instead of word. | |
Re: Well I am not familiar with as so it could be a syntax error. Are you placeing a value in ecx? loop will iterate only while ecx > 0. Every time the loop executes ecx is decremented. | |
Re: I am not sure exactly what you are trying to do with the last section of code but if you want to search for a string you need to use the esi register. You have an array of bytes, in other word a string. If you use lea to load … | |
Hello all. This past semester I took assembly programming. The programs in class were done on windwos machines and now I am trying to write some assembly on my linux machine, which has an intel 64bit processor. I am having a problem converting integers to ascii for output. I am … |