I am trying to create in c#, an alphanumeric counter that creates numbers in the following way:
0001
0002
0003
...
9999
A000
A001
...
A999
B000
...
I am lost on how this can be done.
Hi
I lost some notes and i have about 40 minutes before my pc will restart.
I know it might be imposible but anyway maybe i will learn something.
So the question goes:
Is there a RAM trace left by keyboard input that could be recovered in 40 minutes or less.
I use Win 7 build 7100.
my problem is quite simple, but as a beginner, I'm lost :D
I have to view controller :
view one call view 2 like this :
self.FacebookTypeRequest =@"favoris";
FaceBookViewController *viewcontrol = [[FaceBookViewController alloc]initWithNibName:@"FaceBookViewController" bundle:[NSBundle mainBundle]];
viewcontrol.title = @"FaceBook";
[self.navigationController pushViewController:viewcontrol animated:YES];
[viewcontrol release];
How can i send my string facebookTypeRequest to my view controller 2 ?
Thanks for your help
Hello,
I have a CouchDB database in production. One of the documents has been edited (in Futon by an other developer).
And it's lost it's ID (don't ask me how he did it).
So now the document's id is an empty string, which makes it impossible to edit or delete via Futon.
Is there a way I could hack into CouchDB to delete that document anyway ?
My app uses a WebView, and users sometimes adjust the zoom level to make the text larger. However the zoom level setting is lost when the Activity is closed and another one started.
I can't see how to get and set the zoom level programatically on WebView, can anyone suggest a way this could be done?
I know how to delete single files, however I am lost in my implementation of how to delete all files in a directory of one type.
Say the directory is \myfolder
I want to delete all files that are .config files, but nothing to the other ones.
How would I do this?
Thanks Kindly
I had to restructure the projects in SVN as it was not added as per the recommended repository structure (no tags, branches and trunk folders). However after moving projects to the new structure we have lost the history of all the files.
How can I get back the history of all the files?
I just watched this video from Apple that shows multi-tasking on the new iPhone (running iOS 4.0). What are the implications of multi-tasking to developers? Include both positives and negatives.
For example what happens if the user decides to launch two resource-intensives apps at the same time, one of the apps crashes and progress in a game (for example) is lost. Should developers be considering this when writing apps for the new OS and phone?
I can't figure out how to properly show the printer preference dialog of a given printer so that the user can change the printer settings.
Most of the examples that I can find online manage to show the dialog but any changes the user might make are lost which makes it useless.
Example:
http://www.codeproject.com/KB/system/PrinterPropertiesWindow.aspx
(I tried to change the code as suggested by BartJoy but that didn't fix it)
Does anyone know how to do this properly?
I have a build process which runs from a batch file. It produces a large volume of text. Sometimes it prints the word "Error" or "Warning" followed by a message. The errors and warnings are getting lost among a sea of text.
Can I highlight those words in a different color, maybe in a dos window, or a cygwin shell window, possibly by piping them through some string manipulation program before posting them to the screen?
Thanks.
I'm able to get two videos to play sequentially, (and without pause!) with this code from Apple, (see section 2-4)...
http://developer.apple.com/safari/library/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/ControllingMediaWithJavaScript/ControllingMediaWithJavaScript.html
...Yet completely lost as to how to play a 3rd or 5th video. Trouble is I'm a Javascript noob :-(, so if you figure this out please share as much of your code as possible.
Thanks much!
Let's say we have an empty bathtub. We've lost the plug, so once water is added it will drain away at a constant rate of 2 liters pr. minute. We add water to the tub in increments. 60 liters at 10:51, 30 liters at 11:54 and 50 liters at 13:18.
So, the question is: How can I find out how much water is in the bathtub at any given time?
I need to resize images and resample them so they don't end up all jagged (I think that's called aliasing).
I found some code (sorry, lost the link) that does this in pure VB6 code but it's a bit slow (2-5 seconds) and I'm displaying pictures in real time so I need something faster.
I seem to recall seeing some examples of doing this with the GDI+ library. An example in VB6 would be ideal, but I can probably work with a simple example with Windows API calls in another language.
Hello, I have a button that has a image and uses a MVC Ajax Form(Not Jquery) but I want change the button image to a loading element via Jquery, how can I do this using a element img that is already loaded in the page (if load from server it lost the purpose of immediatly show a loading element).
In the days of parallel printers one used to be able to send a command on LPT1 and receive back standard info such as life count etc.
Now, with USB devices, have we lost that capability? Or is there still a way to read the info?
I have a removable device setup so it autoruns when plugged into a Windows machine and pops up a message giving the owner's information, so it can be returned if lost. Is there a way to do this in Linux as well? It doesn't need to be complex, it can be an option in a right-click menu, or a splashscreen, or anything.
Hi,
I have a Cocoon 2.2 based application which uses blocks for different tasks and one block for shared pipeline fragments. All blocks are mounted within an Cocoon webapp.
Now I would like to have an block which generates an overview of all other mounted blocks. I probably will have to use Java code - which is fine - but I am kinda lost where to start.
Can anyone point me the right direction?
I want to make a real time form validation in asp.net form in which when i lost focus a field it show an error or success of field entrance data
i search for best way to do that ..
and if i want to do the same by validating data from SQL Database ... what's the best choice for doing that ?
I was wondering if anyone new how to get access the metadata (the date in particular) from jpg, arw and dng files.
I've recently lost the folder structure after a merge operation gone-bad and would like to rename the recovered files according to the metadata.
I'm planning on creating a little C++ app to dig into each file and get the metadata.
any input is appreciated.
( alternatively, if you know of an app that already does this I'd like to know :)
A few days ago, I posted this question and this question asking about how to post "Hello World" to twitter. I've gotten helpful responses, which have propelled me further along, but I'm still lost.
I need to use OAuth because (as I read it) using username and password is going to be deprecated soon.
I need an example as simple as updating the status with the string constant 'Hello World!'.
My client is specifying that I must use C#.
On the page load event of my webpage i fill the list of with the contents of the structure
Structure MainStruct
Dim Ans1 As String
Dim Ans2 As String
End Structure
Dim Build As New List(Of MainStruct)
The problem i that on post-back the contents of the list-of get lost.
So, how can i preserve the contents of the list-of in ASP.NET?
So what I have is a bunch of dynamically created textboxs that when the user enters some data and either tabs out or clicks out some calculations are done. After the page posts back control focus is lost. What I need is to be able to set focus back to the control that was tabbed to or clicked into not the control that data was entered into.
I cant work out which brackets are in the wrong place and where and now im completely lost:
$("#slid").click(function() {
$("#div1").animate({ top: "25px",}, 300
},function() {
$("#div1").animate({ top: "85px",}, 300
});
});
Can anyone help?
I Have a User Control containing Text box and a label box. In the WPF window , I have used this user control and another Text box. If the Lost Focus event on the User Control is fired , it fires the Text changed event on the other Textbox. How can i restrict this???