I have to create a unique code to every user registering. The thing is that the unique code needs to be generated based on which city the user is from. So the tables I have are: CREATE TABLE `microreg`.`users` ( `user_id` INT NOT NULL AUTO_INCREMENT , `user_code` CHAR(10) NOT NULL , PRIMARY KEY (`user_id`), UNIQUE (`user_code`)); `user_id` is for unique identification of users in DB.<br/> `user_code` is the readable code generated for the use of users. They access their account with that unique code. CREATE TABLE `microreg`.`districts` ( `district_id` INT NOT NULL AUTO_INCREMENT , `district_name` VARCHAR(50) NOT NULL , `district_code` …

Member Avatar
Member Avatar
+0 forum 4

I have used .net's webbrowser control. Unfortunately, it is not supporting HTML5 or Complete JavaScript. When I googled, many said that the control depends on IE version installed in the machine. I have installed IE10. Though it supports HTML5 (Even I checked the same webpage in IE10 and it worked), the webbrowser control in my application doesn't. In some forums, they recommended to tweak the registry. How can I do it in every Clients machine? Is there anything that can I do?

Member Avatar
Member Avatar
+0 forum 4

I need my application to start with administrator privilege. When I do it in app.manifest: '<requestedExecutionLevel level="asInvoker" uiAccess="false" />' to '<requestedExecutionLevel level="RequireAdministrator" uiAccess="false" />' I can start my application with administrator privilege. But it starts every time the application starts. I need to start the application with administrator privilege only once at the first time of application usage. Actually, I need to make the application to start with windows instead of starting manually. So to do that I used: 'My.Computer.Registry.LocalMachine.OpenSubK ("SOFTWARE\Microsoft\Windows\CurrentVersio \Run", True).SetValue (Application.ProductName, Application.ExecutablePath)' But it requires administrator privilege else it fails.

Member Avatar
Member Avatar
+0 forum 3

I have used .net's webbrowser control. Unfortunately, it is not supporting HTML5 or Complete JavaScript. When I googled, many said that the control depends on IE version installed in the machine. I have installed IE10. Though it supports HTML5 (Even I checked the same webpage in IE10 and it worked), the webbrowser control in my application doesn't. In some forums, they recommended to tweak the registry. How can I do it in every Clients machine? Is there anything that can I do?

Member Avatar
+0 forum 0

I need my application to start with administrator privilege. When I do it in app.manifest: `<requestedExecutionLevel level="asInvoker" uiAccess="false" />` to `<requestedExecutionLevel level="RequireAdministrator" uiAccess="false" />` I can start my application with administrator privilege. But it starts every time the application starts. I need to start the application with administrator privilege only once at the first time of application usage. Actually, I need to make the application to start with windows instead of starting manually. So to do that I used: `My.Computer.Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run", True).SetValue(Application.ProductName, Application.ExecutablePath)` But it requires administrator privilege else it fails.

Member Avatar
+0 forum 0

Am creating an online examination website. I need to store the answers answered by the participants who are given a unique ID. So I will be storing ID, Answers for the question, score. So I think I have two ways to do it. 1. Create a table for every student with columns QuestionID, Answer, Score (When 1000 participants participate what can I do here?) 2. Create a table with ParticipantID, Question1, Score1, Question2, Score2,...... (Too many columns when questions count is around 200) Which is the optimal way of creating the table for above scenario. Since I can understand well …

Member Avatar
Member Avatar
+0 forum 11

I have a contradiction in creating a website for Job seekers, confusion in choosing the language. I assume here that there would be atleast 100 people access the database at the same time to Create a new account, update their existing account and at the same time some would search the profiles of some other person for their Job. Job seekers and Job offerers are meeting together is what I mean. Now my problem is, I designed everything in ASP.Net and while connecting to database, many people suggest me not to choose Connected data access since it can't handle such …

Member Avatar
Member Avatar
+0 forum 5

I recently developed an application and it successfully ran in my computer where I developed. But when I tried to run in my client's system, it returns: An unhandled microsoft .net framework exception occurred in Members Manager.exe [2916] The number in the square braces appears randomly. I can't figure out what is the cause for this problem. I created the application in .NET framework 4.0 and I installed the same in client system. My other application of same framework work perfectly except this one. But this application runs perfectly in my system. I tried installing Visual Studio in client machine …

Member Avatar
Member Avatar
+0 forum 1

Am developing a two screen application where first screen resides in the user system and other screen in extended mode is directed towards a projector or another monitor. They all are working perfectly. Now my client asked me if I can preview the secondary screen onto the primary screen. I tried to display the form inside a group box using: Dim f1 As New Form2 f1.TopLevel = False f1.Visible = True groupBox1.Controls.Add(f1) and successfully displayed the form. But the problem is that whenever I make changes in the Form2 from main form, I couldn't update the form f1. I tried …

Member Avatar
Member Avatar
+0 forum 3

I have created a C# code where I'll input a code to it and it returns me an encrypted entry pass code. Its all working perfectly. Now the question is that, I want to apply this code to every application I create so that only after getting the pass code, the application should run. As far as I know, I now insert that C# code file to that application and everytime am linking that code files. For a C# application its fine, but when I create application using VB.NET, I am forced to convert the code file written in C# …

Member Avatar
Member Avatar
+0 forum 3

Am doing an application to allocate the seats to the students in a building with rooms. I have almost done to allocate the students appropriatly in the rooms. The problem now is convert them to a single variable. So here is the place am struck with: I have these data in a rich textbox: 1 11 200 1 12 201 1 13 202 2 11 203 2 12 204 2 13 205 1 21 100 1 22 101 1 23 102 2 21 103 2 22 104 2 23 105 3 21 106 now I need the string as follows: …

Member Avatar
Member Avatar
+0 forum 5

Am working on a project right now and almost stuck at a point. Say, I have a text document with contents like: `abc,123.xyz;praise;end,file,clear` Now I want abc , 123 . xyz ; praise ... in an array. I used split method with array of characters. Though I retrieved abc,123,xyz,praise,end,file,clear I couldn't retrieve , . ; ; , , ,. I need every different characters in text file. #region Splitting string splitSamp = "abc,123.xyz;praise;end,file,clear"; string[] splitSampArr = splitSamp.Split(',','.',';'); string[] myText=new string[splitSamp.Length]; int i=0; foreach (string splitSampArrVal in splitSampArr) { Console.WriteLine(splitSampArrVal); myText[i]=splitSampArrVal; i++; } for (i = 0; i < 10; i++) …

Member Avatar
Member Avatar
+0 forum 5

Am working on a project right now and almost stuck at a point. Say, I have a text document with contents like: `abc,123.xyz;praise;end,file,clear` Now I want abc , 123 . xyz ; praise ... in an array. I used split method with array of characters. Though I retrieved abc,123,xyz,praise,end,file,clear I couldn't retrieve , . ; ; , , ,. I need every different characters in text file. I imported the files to a rich text document control using file dialog. I want the the string in a variable say myText (it is an array) myText(0)=abc myText(1)=, mytext(2)=123 myText(3)=. myText(4)=xyz *and …

Member Avatar
Member Avatar
+0 forum 9

Am developing a software for submission as project. As a part of it, am planning to create a Phonebook package. I created a database in access and i integrated it in VB.Net. Information: Database name : Contacts.accdb DataTable : Contacts Contents in table : First Name,Last Name, Phone, Address... Platform : VB.NET in Visual Studio 2010 I integrated the access database in VB.NET using Data->Add new Data source and I successfully made it. Now I got a DataGridView. :) Now arises a question How to search a name in "First Name" Column? I just Googled to find row Filter. That …

Member Avatar
Member Avatar
+2 forum 4

I think this community member will help me to clear my problem. Am not a c++ professional just a beginner. Am on the way to create a software for a browsing center. Am almost struck with the problem of creating multiple text files. To be more clear, Say, a browsing center has 12 computers, so I need to create 12 text files with name comp1, comp2, comp3, ... comp12. and then open them in need and change the data. I tried google.. but in vain. Many example illustrates but din't shoot my requirements. I think u r clear. I need …

Member Avatar
Member Avatar
+0 forum 22

I am developing a software that creates controls during runtime. I have used panels to place those controls. I use LABEL and a CHECKBOX to be created in runtime as sepecified by the user. They align one over the other as the checkbox over the label. [This is to allow the user to check the checkbox if they want to select the label]. When there are more number of such controls [crossing the screen], I made to stretch it in horizontal direction. Everything is perfect until now. The panel generated controls and they scroll. Now let me say that there …

Member Avatar
Member Avatar
+0 forum 2

I have an mdi parent and 2 child forms. Both are opened. Now When I try to pass a value, it gives me nullexception value. Heres how I created MDI child forms: Dim _a As New a _a.MdiParent = Me _a.Show() Dim _b As New b _b.MdiParent = Me _b.Show() When both are opened with "a" having some text in textbox1 and "b" having empty textbox2. Now, I tried to get the value for "b" textbox from "a" as textbox2.text=a.textbox1.text. It gives me error. No value can be passed between child forms? How can I share the form events now?

Member Avatar
Member Avatar
+0 forum 1

I just created 5 Rich text boxes in runtime through a subroutine as: Dim c As Control c = New RichTextBox() With c .Name = "VersesRTB" & VerseCount .Location = New Point(70, y) .Height = 100 .Width = 580 .Font = New Font("Microsoft Sans Serif", 12) End With It successfully created my required number of text boxes. I was enjoying until I found that during typing, when I press Enter Key, the cursor doesnot seem to go to next line, rather it continues in the same line. However wrapping occurs (ie) when I finish the like till the end, the …

Member Avatar
Member Avatar
+0 forum 8

Well, I have managed to create controls during runtime. Dim Rbut As New Button() Dim Lbut As New Button() With Rbut .Location = New Point(590, y + 15) .Text = "Remove" .Name = FontName(ListBoxCount) End With With Lbut .Location = New Point(590, y + 45) .Text = "Lock" .Name = FontName(ListBoxCount) End With Me.Panel1.Controls.Add(Rbut) Me.Panel1.Controls.Add(Lbut) AddHandler Rbut.Click, AddressOf RemButton_Click AddHandler Lbut.Click, AddressOf LocButton_Click Private Sub RemButton_Click(ByVal Sender As Object, ByVal e As System.EventArgs) ListBox1.Items.Remove(Sender.Name) End Sub Private Sub LocButton_Click(ByVal Sender As Object, ByVal e As System.EventArgs) ListBox1.SelectedItem = Sender.Name End Sub Here Rbut is Remove Button and Lbut is Lock …

Member Avatar
Member Avatar
+0 forum 12

I have two RichTextBoxes in my vb.net application (rtf1 & rtf2). rtf1 is loaded with the external data. Mostly It contains para split into different sections. The paragraph is a dynamic data, hence the no. of words keep on changing. Now my question is that, I want to select a para from the cluster, copy it and paste it into rtf2. Manually I did as, Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Rtf1.Copy() Rtf2.Paste() Clipboard.Clear() End Sub Then I added brackets to the para contents as: [para content goes here is a multiline] Rtf1.Select(Index, Length) …

Member Avatar
Member Avatar
+0 forum 7

I know that php is same like HTML. I have the codings. But wondering how to execute it...? I use Dreamweaver but in vain.. i get no result.. some body pls help me.. It asks me to set a server for it. Though i set, no result obtained...!

Member Avatar
Member Avatar
+0 forum 3

Am deciding to create a Personal Banking software that manages some 3-4 bank accounts. I know to interlink the Access database. According to Personal Banking, the concept is that one person may have accounts in 2 or 3 banks. So Personal Banking software helps one to manage all 2/3 accounts. This includes, calculation of interest(quarterly), Debit and Credit informations. The software is not needed to be linked to online. Just the users are needed to update the information on their own just as they do the paper writing. only thing the software does is that it calculates the interest quarterly, …

Member Avatar
Member Avatar
+0 forum 8

This is my time to build a final year project. Am a UG Computer Science Student. Though I have 6 month to start my final year project, Am forced to submit the ABSTRACT of the project in a week or two. I tried in some search engines but am not satisfied with them. Many do the projects like Airline reservation, Library management, cryptography, blah..blah.. They are in use and no use of recreating them... :( [COLOR="Red"]I am with idea that I should do the project which no one has done so far and it should be useful to the society.[/COLOR]Suddenly …

Member Avatar
Member Avatar
+0 forum 7

I created a small c++ program. Now i wanted it to create an .exe file. Once i compile, i get the exe file in my BIN folder.. but, the alignment of the files are not correct. Well i do get the correct alignment in turbo c++ compiling..(ctrl + f9).. but while i press exe file, its different(alignment). If you need codes, i'll provide it..

Member Avatar
Member Avatar
+0 forum 5

A website is under construction. Am struck to a point here: In the website am building, the clients requirement is that, He offers some works under some payment. So he needs in his services page the kind of drop down list in such a manner that its as below: say, He offers WEB-DESIGNING is 3 types HTML, Flash and combined one. For HTML he charges Rs.150/page and for Flash Rs.250/page and for combined Rs.200/page (In Indian Rupees). For this I chose 3 Drop down lists: 1. To choose the type of work : Web designing / other works (blah..blah) 2. …

Member Avatar
Member Avatar
+0 forum 2

I know that php is same like HTML. I have the codings. But wondering how to execute it...? I use Dreamweaver but in vain.. i get no result.. some body pls help me.. It asks me to set a server for it. Though i set, no result obtained...!

Member Avatar
Member Avatar
+0 forum 7

Dear Daniweb members.. Am on ma way to learn java. I hav bit knowledge about c,c++. Since am new to java, I need help for the following questions: 1. Where can i get the java software? (like turbo c++ for cpp)I need a link for it. I heard that it needs 2 things. One is compiler and the other is interpreter. 2. How to install it to my computer? 3. Any good tutorials for Java for beginners like me? I have bought Herbert Schildt book. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 8

The End.