So I am in Excel trying to read the last saved metadata from an Access database, but I cannot figure out how on earth to do this.
If I use environ$("username") it will give my the last saved information for the excel document where I am coding, not the access db that I want it to grab from. Excel has a built in function for grabbing username data, but I cannot find one for access.
How can I do this?!
Any help is greatly appreciated!
Hello, I'm coding a uploader that saves into the db the date when a file is uploaded using CURDATE(). I want to compare the current date with the one stored into the db in order to change the color of the icon related to the file depending on how long has this feel been uploaded. For instance, if less than a week, the icon will be green, if more than a week, it will be yellow, if more than two weeks, red. How can I do it? Thanks.
Is there an alphanumeric sort for R?
Say I had a character vector like so:
> seq.names <- c('abc21', 'abc2', 'abc1', 'abc01', 'abc4', 'abc201', '1b', '1a')
I'd like to sort it aphanumerically, so I get back this:
c('1a', '1b', 'abc1', 'abc01', 'abc2', 'abc4', 'abc21', 'abc201')
Does this exist somewhere, or should I start coding? Thanks,
-chris
I have coding for onmousemove event working well in firefox and IE......but not in chrome
var mouse;
function storeMouse(e) {
if (!e) e = window.event;
mouse = { clientX: e.clientX, clientX: e.clientY };
}
function test(e) {
alert(mouse.clientX);
if (mouse.clientX < 150) {
var agree = confirm("Are you sure to leave this page");
if (!agree) {
return false;
}
else {
}
}
}
Can anyone help me.
When coding, I often come across the following pattern:
-A method calls another method (Fine), but the method being called/callee takes parameters, so in the wrapping method, I pass in parameters. Problem is, this dependency carrying can go on and on. How could I avoid this (any sample code appreciated)?
Thanks
hi ... i am new to Android, i am creating game app. i have 3 images in screen. if i click the image it should animate ie it should show open and close that particular image.
Then i have to shift the images. ie i want to swap first and second and second with third. can u help me with coding.
Hi,
I am having trouble getting indentation to work in Vim. I am coding in C++.
I use vim.nox on ubuntu 9.10
I have filetype plugin indent on
I also tried set cident , set autoindent, set smartindent etc.
Automatic indentation does not seem to work.
Say if I have a locationManager(LM) object in activity A, which is my main menu. All the sub-activities need to use LM. In a good design, should I pass LM object to sub-activities? How? Please suggest some good coding pattern. Thanks.
I am in the process of designing a 3D Map panorama viewer using papervision3d for the 3D library. I am coding entirely in ActionScript3 using FlexBuilder.I want to put esri:map in papervision3d.have no idea how to do this. Thanks for any help.
Hi there,
I'm using Visual Studio 2005 and have a DataTable with two columns and some rows that I want to output to the console. I hoped there would be something like:
DataTable results = MyMethod.GetResults();
Console.WriteLine (results.ToString());
What's the best way (i.e. least amount of coding from me) to convert a simple DataTable to a string?
Thanks,
Mark.
I'm coding a application using C# to embed textbox to Taskbar as below picture:
(Taskbar)
https://docs.google.com/leaf?id=0B-E8VK5m5ETqZTI2ZjBlODUtOGI0MC00ZDRhLThjNzItMmE2MTA5NjZlODE5&hl=en
(Title)
https://docs.google.com/leaf?id=0B-E8VK5m5ETqZWE0NzM2MjktZTc5NS00MjdmLThkMmUtMTZjODA3MWUyZTRm&hl=en
--
I downloaded Window API code pack and view some example but I still don't know how to perform my scenario.
Anyone help me for a solution or article (I searched Google but didn't find any article).
Thanks a lot !
How do I find the MAC address of a network card on IRIX? I'd rather not shell out to something that displays it and parse the output.
I'm coding C.
Methods that require root access are acceptable.
Hi all, i have searched Google and also searched Stack Overflow to no avail.
I am looking for a PHP / MySQL driven dynamic image slideshow. One similar to 'lightcyclers.com', i have information stored in the DB and i just want to display random or popular content etc.
I am also not interested in coding one myself as i am busy working on other features.
Any links or help would be much appreciated.
Different STL containers like vector, stack, set, queue, etc support different access methods on them.
If you are coding for example in Notepad++ or vim, you have to continuously refer to the documentation to see what all methods are available, atleast I have to.
Is there some good way of remembering which container supports which methods??
Hi,
I made story book with iphone sdk . I created different views by coding. When user read story book I want to know that currently which view is read by user because I want to store value of current view and If user closed the application and start again at a time user can read from current.
So guide me about the problem.
Thanks !
I've been trying to to consume SOAP requests (.NET web services) and have found some pretty good tools that I wanted to share:
1) http://grabalife.com/2009/10/19/using-net-web-services-and-dataset-objects-in-your-iphone-app/
Really easy clean way to perform all the call needed for consuming the services.
2) http://code.google.com/p/mac-soapclient/
SOAP Client uses WSDL files you provide to dynamically create a graphical user interface for any given SOAP-based web service
Hopefully that will help someone as much as me!!!
Happy coding !
Hi,
I have two dropdowns in my form. The first one Queries for a set of data and displays them. Based on the value selected in the first dropdown i have to query the database, using that selected value as a parameter and populate the second dropdown. In short, based on the first dropdown, second one has to be populated dynamically. Am coding in JSP. Please do help on this!
Thanks,
Geetha
I am using Wizard control in VS 2008. I searched the next button coding from net.vI want that if user id and password not match then wizard page should not move to the next step.
As an ASP.NET developer, I'm used to working with how VS/C# transparently autogens proxy classes for web references (yes, I know, we're spoiled), but now that I'm creating documentation for more than one coding platform I'm trying to discover what the equivelant to that is in any other framework.
So is there a similar way to work transparently with web reference proxy classes for say, RoR, PHP, and Python?
And if there's nothing integrated, are there tools you recommend to autogen the proxy classes, or do you recommend to roll custom classes?
In your opinion and experience, what's best - working full-time and long-term for one company, or part-time short-term on many smaller projects or parts of projects? What do you think are the pros and cons of both?
I heard that being a consultant is more profitable and one would pick up more experience. Does that beat an 8 hours by 5 days (thanks to Jon Limjap for correction :)) job of coding in a cubicle?
Is it considered crazy to store common SQL queries for my web app in a database for use in execution? Or is that common practice? Or is it impossible?
My thinking is, this way, I avoid hard-coding SQL into my application files, and add another level of abstraction.
Is this crazy? Is this what a stored procedure is? Or is that something else?
I have been experimenting HTML5 canvas by coding basic mind-mapping application. I have tried to find out if there is any javascript API used for managing object in canvas like collision detection between images or shapes.
I think it is not a good idea to write my own since there might be some good API around.
Anyone have clue or some information on this. I would very much appreciate.
This question will probably end in a facepalm, but I've tried for a while and am still stuck despite reading through the hyperspec.
Basically what I want to do is something like
(format t "~{|~{ ~5d~}|~%~}" '((1 23 2 312) (23 456 1 7890)))
but instead of hard-coding the 5 it should be calculated from the list (length of longest element from any nested list + 1) to give something like
| 1 23 2 312|
| 23 456 1 7890|
Maybe I'm thinking way too complicated here and there is an easier way to do what I want, but I think I ran myself into a mental corner that I can't get out of.