606 Posted Topics
Re: I have gotten Windows Forms to work under mono before. Are you using any of the winapi as well? Take a look at the mono migration analyzer, it should most likely tell you what could be wrong. [url]http://www.mono-project.com/MoMA[/url] | |
Re: wrap your code with something like this [code] SET AUTOCOMMIT=0; START TRANSACTION; -- do your work here -- if failed do this ROLLBACK; -- if successful do this COMMIT; [/code] | |
Re: Both in mysql and ms sql joined view work. You create them just like you would any other view, instead of your table name in the from, just use the view name | |
Re: Agree with LizR. Books can only go so far. Just like back when you started c++ you had hello world, and i'm sure some loan calculator, and grades calculator. Do the same thing in c#. You can read code in a book all day, but it necessarily doesn't help, but … | |
Re: Normally what you would do is have a single child table, with an additional column for child_type_id [code] CREATE TABLE ChildType( CHILD_TYPE_ID int NOT NULL, CHILD_TYPE_NAME VARCHAR(20), PRIMARY_KEY(CHILD_TYPE_ID) ); CREATE TABLE Children( ChildCode char(3) NOT NULL, Name varchar(50) NOT NULL, CHILD_TYPE_ID int NOT NULL REFERENCES ChildType(CHILD_TYPE_ID), ParentCode char(3) REFERENCES Parent(ParentCode) … | |
Re: might want take a look at security and see for the sql user you are executing as is able to 'see' the table and modify it | |
Re: Agree with pritaeas, definitely use indexes. Also if you have a lot of records, you probably don't want to use LIKE or 'string%' take a look at full text searching if the indexes don't straighten up the issue | |
Re: show some effort you are wanting us to help with a stored procedure of this???? [code] Select * from Test [/code] | |
Re: [code] $sel_id = $_POST['sel_id']; $get_addresses_sql = "SELECT address, city, state, zipcode, type FROM address WHERE master_id ='$sel_id' "; [/code] | |
Re: you can't have the space after CONCAT_WS and you also need a comma after id [code] select id , CONCAT_WS(', ', l_name,f_name) [/code] | |
Re: Should work, but you might want to use this for strings if you don't care about case use strcasecmp instead strcmp if equal they will return 0 [code] if(strcmp($email1, $email2)==0){ echo "Emails are same"; } else { echo "Emails are Incorrect"; } [/code] | |
Re: [code] int openBracket = 0; int closeBracket = 0; ArrayList subs = new ArrayList(); //you'll want to use a loop here to check //if there are no more matches //gets indexes openBracket = str.IndexOf("[", openBracket); closeBracket = str.IndexOf("]", openBracket); //add substring //i think you need the + 1 to include … | |
Re: Never used it, but here's a link for the java speech recognition [url]http://java.sun.com/products/java-media/speech/forDevelopers/jsapi-guide/Recognition.html[/url] | |
Re: Where does myMoney come from???? I think you missed it in the function declaration line | |
Re: Once again, hackers might keep trying the passwords, but you might want to try an approach of blocking ip's. 5 attempts at an ip with an incorrect password, record the ip in a table, and pull back from the table when user's are accessing the login page. If they match … | |
Re: are they completely separate or they both contain the same tables? might want to take a look at mysqldump and mysqlimport | |
Re: If you are sure everything is seated properly then on the power supply try turning the switch off, press the power on the computer (the computer won't actually turn on), then turn the switch on, then try to turn the comp on. | |
Re: you can do it with a binding source [url]http://blogs.msdn.com/dchandnani/archive/2005/03/12/394438.aspx[/url] | |
Re: you could also use a group by for your address criteria [url]http://office.microsoft.com/en-us/access/HA012314821033.aspx[/url] | |
Re: Here's a sample in c#, hope it will help [url]http://www.codeproject.com/KB/cpp/wsbarcode.aspx[/url] | |
Re: hmmm, any other print drivers installed? this can definitely interfere if it won't print try to do this start -> run -> cmd net stop spooler net start spooler then see if the issue is resolved | |
Re: use a select with a subselect don't know your columns but you basically need to just issue your query twice and use something like [code] select * from s, spj, j where s.id in (select s.id from s, spj, j where j.city='london') and j.location = 'paris' [/code] i didn't put … | |
Re: I agree with Teme, I have used IrfanView and it definitely meets all the needs (sizing and color requirements0 for icons. | |
Re: Not sure if you are wanting open source or not. Microsoft Office Project actually does a pretty good job of this. | |
Re: You can use a java editor, there are a couple common ones, eclipse, netbeans. I suggest eclipse [url]www.eclipse.org[/url] | |
Re: Did you just reinstall windows or format completely? If the mbr is messed up that could cause it as well. When you are formatting, go ahead and do a 'fdisk /mbr'. And do a complete format, not a quick one. | |
Re: Check out the bios, to see if the sata device is recognized. Could be quite a few things, but first look there and see if it appears in the standard bios. | |
Re: [code] DECLARE @inid bigint declare @outid bigint DECLARE @hexstring VARCHAR(max) --set your first value here set @inid = 437910961 select @hexstring = master.dbo.fn_varbintohexstr(@inid) select @hexstring = reverse(@hexstring) select @hexstring = substring(@hexstring, 0, (len(@hexstring) - 9)) select @hexstring = '0x' + @hexstring declare @binvalue varbinary(max), @hexstring1 varchar(max), @sqlstring nvarchar(max) SET @sqlstring … | |
Re: Show some effort. Here's a link to get you started [url]http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_substring-index[/url] | |
Re: don't believe there is any algorithm for it you know you have drilled down when you can't have one column changing data based upon another column ie - classic example customer city state zip you could have a zip column with one city and state, then have another city and … | |
Re: specify the fields in the insert query [code] insert into Users (FirstName, LastName, ...etc) [/code] | |
Re: its a good thing and a bad thing looks like your super anti spyware has worked, and it has removed the files the problem is, they are set to startup still remove them by going to start -> run -> msconfig -> startup remove the previous, or anything that looks … | |
Re: [code] Dim basePath as String Dim filename as String Dim ext as String ext = ".jpg" basePath = "C:\Images\" filename = Text3.Text filename = filename & ext Dim oFile As New Scripting.FileSystemObject FileExists = oFile.FileExists(basePath & filename + ext) If(!FileExists) filename = "mypic" + ext End If Image1.Picture = LoadPicture(basepath … | |
Re: your total digits on each column is 2 also use columns when inserting [code] insert into theoritcalHold (TS, TR, ...etc) values(.....) [/code] | |
Re: its cause you have spaces when creating the query string use this [code] string qs = "viswa murthy"; Server.UrlEncode(qs); [/code] | |
Re: what distro of linux are you running? If ubuntu, many packages are available through synaptic | |
Re: I have used this in the past to query the domains. To get users, you will use the same concept of directory searcher, I think objectCategory=User. Make sure you have rights to query when using the directory searcher. [code] ArrayList domains = new ArrayList(); DirectoryEntry dirEntry = new DirectoryEntry("LDAP://"); DirectorySearcher … | |
Re: Well what way do you have it now? Also be sure to optimize your code as well ie use stringbuffer instead string +, you know the usuals. When you are comparing characters, you might be running into speed and performance issues when you get into the larger documents. Post the … | |
Re: Start by thinking of simple examples and making them happen. Ie employee with companies tables, students with teachers and classes tables, database design takes time. Mysql isn't ran from a dll, its a standalone application, that can be accessed through dll's, this can be thought of as connection and objects … | |
Re: any column you are querying against you will want to use an index assuming you are querying a lot against the title and description, you might want to separate them out to a separate table, and have bigint field inside of the stiri table that is a foreign key to … | |
Re: What are you having trouble with? The network isn't really a problem, just make sure you properly configure sql to accept tcp ip connections and there shouldn't be much of a change than you have now, as long as there no concurrency issues within your application. | |
Re: first do the select on payments where creditor.id = 1014 or creditor.id = 1015 and group by clientid with the sum then create the outer select doing the inner join on client id | |
Re: First part. You are going the right route by storing files on the server and paths in the database. You should create a main image directory and possiblty have your images table have a subpath off of that. I'm sure each row will have an 'owner' or client column, so … | |
Re: What kind of webpage is it? What are you wanting to modify it with? Do you want to edit only or save as well? Any clarification? | |
Re: also before adding the items, make sure you call [code] this.comboBox1.Items.Clear(); [/code] | |
Re: you need an actual method named main when starting the application and it does need to be static It looks like you need to change Opening method to be main | |
Re: Never had to do it here's a link on how to [url]http://mohammedu.spaces.live.com/blog/cns!6699CF8ADD3D4F67!181.entry[/url] | |
Re: Are you sure you have a 'Checkerboard.java' or 'checkorboard.java'? |
The End.