i'm a new developer...i have been given a project to generate a user name of 6 chars. the user name has 1st 2 char the 1st 2 letters of the name and remaining 4 char as any random numbers. alone with that i have to send a random password with it..
I got the filepath and filename in richtextbox. I need to extracticon using extractassociated icon. i got listview type. but i need which is not of list view type. i want extract icon of any single file which was drag and drop to rich textbox and sent to client so that they can open by double clicking the icon.
I have an application I am trying to write that generates a text file conforming to a file specification, and the file could contain thousands of lines. This part is easy. The more challenging part for me is the user interface. It needs to be a web interface with various options to affect what data gets on the file; this part is no problem. The process for generating the file, though, could take a little time depending on the amount of data , and I would think the web page would time out.
What options do I have for the UI? Could I create some sort of service that the page calls and runs in the background? When the process errors or is finished, I'm thinking there could be an email sent out, or even messages displayed on the page.
Is there any asp.net flash control which will work on client side without installing flash plugin.Actually i was using flashcontrol in my project and thereby displayed swf movie in my project . It was working right on server because flash player and flash plugin were installed on it. But when i tried to access that page on client side it doesnot showany movie or image
I'm looking to print a file which is constantly being read too. Although, there are certain times when a user must print from this file. How do I print from this file and also alter the font depending on which item I'm printing. For instance, we have 3 items in a text file.
76277BLACK WHITE 001.300601R W2308101/4 76287BLACK SCANDA000.500208 E W2308101/4 76289BLACK WHITE 006.801701 W2308101/4
Two of these items need to be printed in a bolded font. The one with the 'R' and the one with the 'E'. I want it so that I f I were to print this particular job off with these three items. I would have two lines which would be bolded and the third line would be regular font. It would look something like this
76277BLACK WHITE 001.300601R W2308101/4
76287BLACK SCANDA000.500208 E W2308101/4 76289BLACK WHITE 006.801701 W2308101/4
If you look above I also need to denote that if an R is present it is a remake, if a E is present, it is an export.
in my application (asp.net) i have a filed ( phone code) and it contain a text box. and i want to restrict the user to enter only 4 letter after that the cursor should not print any character how can i write the code
1) The image is from a asp:image tag 2) text is from asp:label
view here : [URL] How can I get text to start after the image is set in the top left corner, and then have text wrap underneath the image, if the text is long enough. I need to use asp:image and asp:labels as the inputs are populated from codebehind.
I am grabbing data from a peoplepicker control (sharepoint) that compiles users into a string. For instance, if the user added 3 users, the string would look like: John Doe CONTOSOjdoe User Jane Doe CONTOSOjadoe User John Smith CONTOSOjsmith User I want to use Split with"User" as the delimiter. Since the delimiter is 2+ characters I'm getting the error: too many characters in character literal. Tried to specify User as the delimter like:
I have a @message parameter in SP, user sends an Integer value in that message. For Ex: @message = 'This is, a Test message 500000 and the message ends.'Now i want to get only that 500000 value from this @message param. There is no delimiters for identifying the integer value and in that param contains only one integer value
create procedure st_test (@message varchar (4000), @result int output) as begin //LOGIC for get the interger value end
I need to let my users enter a variable length list of items into something that looks like a grid view (or a series of standard text boxes stacked vertically). Each item could be a few characters or a few hundred characters long, and I just want them to enter a "sentence", and then tab to the next row, and always having another blank one ready to go at the bottom of the list.
I have a column with a random length of text, basically it's an old crappy mfg system that stores data in a tilde delimited list. I need to output this column into each seperate column for a view. Column names don't matter, they can all be unnamed but so long as the data returns as seperate columns is what I'm after.
This has got to be more simple than I'm making it. I want to generate a listbox with years for the values. It needs to be dynamic. It needs to list from 17 years ago to 25 years ago. This is what I have so far, I get the correct number of items in the listbox, but I don't get the correct value. They are all "1985".
<% Dim y As Integer Dim NextTime As Date = Now Dim bday_yr As New ListItem() y = 0 For y = 17 To 25 NextTime = DateAdd(DateInterval.Year, -y, System.DateTime.Now) bday_yr.Value = NextTime.Year bday_yr.Text = NextTime.Year BirthYear.Items.Add(bday_yr) Next %> <asp:DropDownList ID="BirthYear" runat="server"> </asp:DropDownList>
I am using asp.net 3.5 file upload control. I can browse the files when click the Browse button. Same time I can't browse the file when enter key is pressed while file upload control is in focus. I am using master page. I am in urgently need of this.I want to browse the files when enter key is pressed while upload file controll is in focus.