kvarnerexpress
Members-
Content Count
413 -
Joined
-
Last visited
Everything posted by kvarnerexpress
-
Does any of you know any database engine that could be in standalone/embedded mode (with zero administratrion) and at the same time could be in client/server mode? In other words, I need the database to be able to run by itself and when required by the enduser, be able to run in client mode where it connects to a remote database.I looked into mysql embedded but it's still not mature (I spent a day trying to get it to work), although it is exactly what I'm looking for.I also looked into OLE DB however, the msdn docs are full of concepts and are lacking in "how to's". Moreover, I couldn't seem to find information on how to connect to remote databases (although it stated that it could) and how to create zero-administration datasources.... not to mention I'm still confused by its relation with odbc and such.Could anybody offer some advice? Or refer me to a good tutorial site on OLE DB?thanks
-
I just reinstalled Windows XP Pro on my wife's 1.5gHz P4 256MB RAM machine. It was fine for a day, until I updated it to SP2. Now it is very slow- just right-clicking on the desktop takes 8 seconds to show the menu. Before the format, it was the same OS, also SP2. I have added a few programs, such as Open Office, BrilliantPhoto, Adaware, and others. I do not know if the problem was before or after the installation on these programs. Some of the were installed before SP2, some after.What could I troubleshoot? I am not familiar with Windows. Thank you.
-
Need some help, i have been out of the HTML programming for a while, and it isn't coming back very fast for me, or this isnt possible.Can i send the contents of a form to a different place then where the browser goes. I would like to send the contents of a form to a page where it will take the data and process it, basically putting all the data into a SQL table and creating a new file for the article. I want the user to go to a different page though, actually, back to the same form where they put in the information in the first place.Possible?
-
Hi !I have just discovered a strange interaction between TXPManifest and TStatusBar components.When TXPManifest is used then StatusBar doesn't show any application hints. Of course AutoHint property is set to TRUE. I have no idea what is the reason. I found 2 similar topics at one German forum but I'm afraid my German is not good enough to understand their discussion.I also tried to use a common .manifest (xml) file instead of TXPManifest component but I got the same effect.Do you have any suggestions ?
-
Hello all, I have a question that I need your help with since I am still really noob in VB. I am trying to create a VB code for powerpoint that will give me progress bar that will tell me how far I am in the slides. I searched the web to see if there this an existting code and I found the following (modified a little): Code: Sub AddProgressBars() Dim X As Long Dim dblLeft As Double Dim dblTop As Double Dim dblheight As Double Dim oSh As Shape ' This determines how far in from left the progress bar will start: dblLeft = 0 ' This determines how high (in points) the progress bar will be: dblheight = 12 ' This puts the progress bar right against the bottom of the slide, no matter what its height dblTop = 35 For X = 1 To ActivePresentation.Slides.Count ' Add a rectangle - it'll be formatted however you have your default object formatting set Set oSh = ActivePresentation.Slides(X).Shapes.AddShape(msoShapeRectangle, _ dblLeft, _ dblTop, _ (X * ActivePresentation.PageSetup.SlideWidth) / ActivePresentation.Slides.Count, _ dblheight) With oSh ' Change this to any color you like, if you like .Fill.ForeColor.RGB = RGB(192, 165, 229) ' Don't change this: .Name = "ThermometerBar" End With Next XEnd Sub Now this code simply draws a wider rectangle everytime I progress in slides. What I am looking for is to have a bordar around each rectangle (like having a # of rectanglualrsegmants correspoding to the # of slides). SO I was wondering how can I intoroduce a boarder to this or of there is another code/solution u saw, I will really appriciate it. Thanks alot for your help in advance and sorry for the long email.
-
from an API and outputs the result to the API (like someAPI.submitResult(myResult), which checks the results against the sample values. The idea is that the student is able to click a browse button and locate their .java or .class file, which the GUI then launches. So my question is if I can launch this class as part of the GUI process so that the API actually is actually part of the GUI process. It's a bit backwards really - like launching the API first and then adding in the component that uses the API during runtime. But there is an advantage of doing it this way instead of having the GUI get the question and then the students class being launched on its own with an API separate from the GUI process. If they were two separate processes I'd have to make the student identify what question is being answered, their student ID and password, etc with inputs to the API in their actual code, then they would have to send the submit function call at the end. And the API process would have to include the checking functions and input the data to the database, then the user would have to manually ask GUI to retrieve the results. If I can make it all part of one process the data sharing makes things much more straight forward for the student.Thanks for your help.
-
Just figured I'd post this real quick as I found the experience fairly amusing.I was working on some code last week that, when I applied it to the full set of data, took about 1 hour and 10 minutes to run. Needless to say, this is quite slow, however I was using unoptimized code. I went for correctness first. Anyway, the first thing I noticed was that I could eliminate a good deal of array copying. I fixed that and it cut the time down to 23 minutes. This is still a lot slower than I wanted, so I went back to trying to optimize the code. After trying various things and researching some different things to optimize in Perl, I tried something completely and utterly stupid: I changed push to unshift. Now, I could do this since I was sorting the array later anyway, so ordering did not matter at this point.Did it work? The code ran in 34 seconds. I must say, I was quite shocked by this. This leads me to my question: what's the difference between push and unshift in terms of how they work? I know they put data on different sides of the array. I'm just wondering why that made such a profound performance difference.
-
hey guys how we doing. just registered, awsome forum. lots of informaion.i amactualy in process of bulding a music portal. finished the design part of it and now off to the codeing. i am not that good with php but i know a little. i am basicly in search of somemusic managment systems. i found one which is EXACTLY what i need. its called musicbox.musicboxv2.com is their website. whats great about it, is that it lets you sign up users, create albums and etc. but the nice feauter is that it has an embeded player, so when you select the songs u wantt o listen to, and hit the play selected button, it opens a pop up player (which u can change the design to it to)...anyhow, the bad thing about this system, is their crapy template. so, i got a template from templatemonster, for an mp3 portal . so, basicly, system wise, i need to create a website similar to raaga.com.so my question is, is there any other systems simular to musicbox, or is there someone who can help me incorporte my template into musicbox, either or would be helpfull best regards.
-
I'd like to add a checkbox for each row so that the user can move to process the checked items to the next page. I want the checkbox to take the value of the primary key from the database so assuming that blabla=rs.fields("code") where the code is the primary key how can I add a dynamic checkbox to this table for each row <table border="1" align="center"><tr><% for each field in rs.fields %><td><center> <% response.write("" & field.name & "") %> </center></td> <%next %></tr><%do until rs.eoffor each field in rs.fields%><td><center> <% response.write( "" & field.value & "") %> </center></td><%next%> </tr><%rs.movenextloop%></table><%rs.closeconn.closeset rs=nothing %></table>
-
I am a developer for a university and we currently use ColdFusion for all our web applications. Recently my supervisor has been asking me if I know php which I do and I am afraid that he is thinking of ditching ColdFusion in favor of PHP because "it's free" as he keeps hinting. I happen to know that the university is not in financial trouble and can easily continue to afford supporting ColdFusion. I feel that dropping it in favor of PHP would be a tremendous step backwards. ColdFusion is quick and convenient for small projects yet unbelievebly extendable since it can work with any Java package. It is also much better than PHP when it comes to maintaing neat, clean presentation separate from programming code. I need to make sure that I remove any serious intention of making this switch from my supervisor's mind and I'm looking for any point of argument to help me. Does anyone have good ideas for how I can convince him? I really appreciate it.
-
i'm trying to iterate through a file and copy its character by character into a new exe file so i can later adapt this functionality into a program that i've already written in two or three other languages. its just to dip my fingers back in C since i've gotten rusty from since the last time i used to harrass this forum, lol. i seem to believe that once i use fopen in read mode that it opens the file in binary mode but it still dosen't give me the results i want, watch a small sample of the code please. Code: int main(void){ int a; FILE * FROM = fopen("C:\\test.exe","r"); FILE * TO = fopen("C:\\result.exe","w"); while((a = fgetc(FROM))!= EOF) { fputc(a,TO); } ........ // close files etc} i get an error saying result.exe is not a valid application i've already written this program in python, java, and even C# if i remember correctly but i thought i had already solved this problem in C, maybe i forgot how. anyway thanks to those of you who are going to help.
-
I'm having a hard time finding out the more technical differences in these two. I'm Choosing a new Laptop and many offer media center as an option. I know I want Pro vs Home because of all the networking options missing in Home, but I don't know if Media Center is like Pro with media add-ons, or like Home with media add-ons. All I could find so far was this and this. Neither are very helpful, and I don't know exactly what they mean by "Connect to Internet wirelessly." I mean...if you have 802.11x and an internet connection...what's the problem?
-
I'm looking for a source where I can get info on how to program a simple SUBMIT button without having to have the form that the button is on hosted.I have seen examples of an email that is sent when the submit is triggered but the text that is received is very hard to read and would not make sense to someone who has limited or no computer programming language. (Like me)Any and all help would be greatly appreciated.PS, I'm not looking for someone to do the coding, just point me in the direction where I can find the info I need to create my own code.Thanks
-
What's the proper way to handle submit and reset buttons?Using type submit and reset don't allow you to replace the default button with an image, using the type image doesn't allow a button to automatically act like a submit or reset....so far as I know.So How should I do this when I want to use a custom image as the button?Code will be best way to explain, thanks!
-
Hi, I'm trying to create a HTML email that can be sent to a listserv. I know that I can simply build my html page and then in IE 6.0 go to File > Send as Email and it converts it to an HTML email. However, it defaults by placing all the images as attachments - even when I use absolute links to these images. That's no good.So I outsmarted the default by removing all of the images from the server, then converted to email and then put all the images back on the server. That worked like a charm, but it's still not a good plan. For example, the email when sent displays the proper html, yet if you forward the message it no longer holds up. You just see code.I've done some reading on this topic online and all of the straightforward solutions do not work - a lot of people claim that you can simply code the HTML into your email program... from my experience that is just wrong.Anyone have any good solutions or advice? Thanks so much! Notice from mayank: Edited topic title & description
-
So basically tonight I got the ingenius idea of trying to "delete" Ubuntu (Linux) from my computer, so I figured I'd delete the partition that I created when I set up the dual boot on my laptop. So after ****ing around with the partition manager, I decided to restart my computer. Bad idea. Now when I turn on my laptop, the first thing I see is "NTLDR is missing. Press Ctrl+Alt+Del to restart" and only that.I don't have my Windows XP disc or anything like that, so I really don't know what to do. Help?
-
Hi. I have a page that is dynamically build through DOM manipulation. So, when I browse outside the page, and then click back, those dynamically created DOM objects are gone. Since I am also using JSP / Servlet technology, I can rebuild this page easily, which I have done. Here is my dilemma. If the user leaves the dynamic page, then clicks back on their browser, I need the page they are going back to to refresh. I can't figure out how to do this. I've tried using the META tag, but it won't do it. Help would be appreciated. Thanks.
-
I am trying to do a website which requires two drop down boxes that will display different images. Basically you select a category then you can select a sub category from the second drop down box.Now all the scripts I found online that do this direct you to a link by either pressing Go or some kind of submit button.Can some one point me in the right direction to make the selection show different images?In the end I want to have an image show up when you select the sub category, then have the user be able to drag and drop that image to a different part of the screen.I have a drag and drop script that I can use, but I can't find a double combo box that will display a different image each time and not replace that image when a different category is selected.Overall the user will create his or her own bike, so they need to be able to drag and drop and the images have to stay on the screen so at the end they can see their completed bike.Any help at all in this matter would be greatly appreciated.
-
I can't believe I can't get this one. I have a table that I am dynamically coloring using tr row id's using javascript. However in this example I have just used plain HTML. I would like the rows that are blue to stay blue and not have any white spaces in between the rows & columns. Any ideas? Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://forums.xisto.com/no_longer_exists/ http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Alternate colored tables</title></head><body><table width="100%" border="0" hspace="0" vspace="0"> <tr bgcolor="#0000FF" id="row1"> <th scope="col"> </th> <th scope="col"> </th> <th scope="col"> </th> </tr> <tr bgcolor="#0000FF" id="row2"> <th scope="row"> </th> <td> </td> <td> </td> </tr> <tr> <th scope="row" id="row3"> </th> <td> </td> <td> </td> </tr> <tr bgcolor="#0000FF" id="row4"> <th scope="row"> </th> <td> </td> <td> </td> </tr> <tr bgcolor="#0000FF" id="row5"> <th scope="row"> </th> <td> </td> <td> </td> </tr> <tr> <th scope="row"> </th> <td> </td> <td> </td> </tr> <tr bgcolor="#0000FF" id="row6"> <th scope="row"> </th> <td> </td> <td> </td> </tr> <tr bgcolor="#0000FF" id="row7"> <th scope="row"> </th> <td> </td> <td> </td> </tr></table></body></html>
-
Hi,I have just become a webspace reseller and I would like to have a form on my website under the header, Manage Web Space. The form will have a textbox that ppl put their domainname in (mondomediadesigns) and then a dropdown menu with the extension (.com.au or org or net.au etc). When they click "Manage" I want it to open in a new window their admin sign-in page.So basically, I need a script that will place whatever the client puts in the form, into the script and will open it in a new window.Does anyone here know of anywhere I can download a script such as this?Thanks in advance!
-
Like always I make the most complicated stuff on my site lolWhat I am trying to figure out now is how to make a link make a mp3 sound 'click' when a link is clicked. Problem -The file is 10k in file size. The size isnt bad at all concidering my site is meant for high speed internet users. But when the link is clicked, it will directly go straight to the other page without having the sound go 'bling' or watever it does...What I want to do is have the the sound file kinda cross between pages when it loads so it ignores the first problem and ads more interactivity.I am using frames for my site and one of the frames is pretty much hidden with nothing to do. What I am thinking is when a link is clicked, it will activate the mp3 file from the other page.Now I don't think this will be very much possible UNLESS ...1 - I make the link target both frames at the same time and this is what happens..[Middle Frame (Link)] + Click = Target Middle Frame and Hidden Frame[Hidden Frame] = Refresh = Play .swf fileOR2 - I make the link activate a .swf file located in the hidden frame to play the sound file.[Middle Frame (Link)] + Click = Target Middle Frame and Hidden Frame.[Hidden Frame] = Activates .swf file=========================Those are idea's but I don't know how to do that. If you know a better way please go ahead and tell me pls!
-
I've been trying to shoe-horn a script that redirects to a default entry page by checking referals for that session, with a script that ignores that visitor if they *have* been through that default page.I'm trying to get wusage to give me an accurate body-count of visitors to my site, whether first time or not, by kicking bookmarked entries to my default entry page the first time they visit in a browser session.Yeah, it might not be quite as convenient for them, but my statistics would be more accurate if I can look at hits per a certain page. I can determine hits not simply by page, but by actual visitors, more accurately.
-
Hello,I've one registration page where the users fills in their information, is it possible to trasnfer the things the fill in on the registration page to another script that does someting and returnes something to the first page like true/false and then the registration gives an error messange if the other php script returned false?Something like the script "activates" another script that does something and returnes the result back to the original script.Best Regards
-
I'm working on a piece of user/group authentication and I've run into a question that has to do with ASP coding, I think. I have very little experience with ASP, though.In essence, I have a couple of tables: users, groups, articles, Permissions for articles, and Groupmemberships... So, on a page, it opens up the article and looks for what groups have been given access to the article... It then looks at the userID (session variable) and determines what groups the user belongs to.... you I'll have 2 lists, the groups the user is in and the the groups that have access to the article... If there is any common between the two, then the user has access... otherwise they don't.So...User Group IDs^^^^^^^^^^^Article Group IDs1^^^^^^^^^^^^^^^^^^^33^^^^^^^^^^^^^^^^^^^47^^^^^^^^^^^^^^^^^^^2This person would have permission because the user belongs to one or more groups that have permission...or...User Group IDs^^^^^^^^^^^Article Group IDs1^^^^^^^^^^^^^^^^^^^83^^^^^^^^^^^^^^^^^^^47^^^^^^^^^^^^^^^^^^^2This person would get an access denied error.... So, my question is, how would I compare the two to see if there are any common elements in ASP or SQL? The data is in a MS SQL database...Thanks,
-
Hello everyone,I need help in querying an image library, in which I set up two tables: one that contains info about the image (called images) and one that associates each image with a keyword, called keywords (this is a one-to-many relationship - an image can have up to 7 keywords). The keywords table has these fields kID (primary #), ImageID (the same from the images table), and Keyword. So it looks like:kID GraphicID Keyword1 1 woman2 1 white3 1 frown4 2 man5 2 black6 2 smileWhat is the best way to query the images and keywords table so that it narrows down users' search? For instance, if users type in a form two search words (search_k1 and search_k2), I would want only those records that equal BOTH these keywords to show up (instead of records that equal search_k1 AND records that equal search_k2 -- which is what I am getting now). Thanks,