199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for divin757

When I click the login button I never get any values posted to the server. I accept a AuthViewModel but it is always null. I have tried using @html.EditorFor but have not had any luck with it. **User Controller** [HttpGet] public ActionResult Password() { UserModel user = (UserModel)Session[Constants.SessionVars.Authenticate]; //error - …

Member Avatar for BMXDad
0
613
Member Avatar for Haquo

Hello Everybody, I’m currently working on my end of year project and I got stuck on a very trivial thing. When I’m trying to add a new user to a database (local) I keep getting “Syntax error in INSERT INTO statement" I don’t really see where is the problem so …

Member Avatar for Haquo
0
1K
Member Avatar for vishalonne

Hi All I am trying to generated the dynamic labels depending on the checked checkboxes which are dynamically created. My .Net frame is 3.5 Here is code for dynamic checkboxes System.Windows.Forms.CheckBox[] checkBox = new System.Windows.Forms.CheckBox[bran_count]; for (int i = 0; i < bran_count; ++i) { checkBox[i] = new CheckBox(); checkBox[i].Name …

Member Avatar for tinstaafl
0
166
Member Avatar for keeleyb

Any thoughts will be most welcome. In PhpMyAdmin and Dreamweaver cs6. I would like the user of my site to be able to select a category from a list that is populated by PhpMyAdmin and then, his or her selection to reveal all of the items on the database in …

Member Avatar for keeleyb
0
357
Member Avatar for Sturdy

Hi all, I'm make a program to read text file. I can read the text file but don't know how to write it to listview. This my code to read into arrays: Function ReadFileText(ByVal filename As String) As String Dim handle As Integer ' ensure that the file exists If …

Member Avatar for Sturdy
0
2K
Member Avatar for sai.aleenus

#include<stdio.h> #include<conio.h> int main() { float fill_h[400],fill_s[400],bh_p[400],ex_up,ex_upt; int i,j,p;float lam = 0.5; float fhf = 1.8288 , fhi = 0.6096 , fsi = 12.0f , fsf = 19.0f ; fill_s[0] = fsf;fill_h[0] = fhi;bh_p[0] = bhpeqns(fhi,fsf); for(i=1 ; lam > 0.002 ;i++) { printf("\n the loop is run"); if(fill_h[i-1] == …

Member Avatar for sai.aleenus
0
140
Member Avatar for krystosan

I have a method that does not return anything , but it makes a call to another method that returns a value like def apply(): #set some defaults try: script = _getScript() except Exception, ex: raise Exception(ex) node = [xyz for xyz in myLst] # myLst is a global list …

Member Avatar for krystosan
0
3K
Member Avatar for Rasool Ahmed

Hello guys, I have problem with reading or writing files in C++ and MASM32. The problem is when calling the ReadFile or WriteFile the program give an exception saying "Access violation at address 0000". This is the code in MASM32: LOCAL Kernel32:DWORD LOCAL CreateFileA:DWORD LOCAL GetFileSize:DWORD LOCAL ReadFile:DWORD LOCAL pBytesRead:DWORD …

Member Avatar for gusano79
0
391
Member Avatar for Necrozze

Im making a 2D platformer-ish shooter its really simple and not much effort put in it, it is my first game Im making in python and its for a school project and needs to be finnised really soon. Everything is working just fine but Im having problem with some collision …

Member Avatar for Lucaci Andrew
0
565
Member Avatar for abbOoOoOod

hey all please help me about my graduation project i use this code to insert data on the table and i have no error,but nothing will save on the table..so please help me know why !! thank on advance.. -------------------------------- Imports System.Data.SqlClient Public Class Form1 Private Sub Button1_Click(ByVal sender As …

Member Avatar for schroaus
0
176
Member Avatar for Fiorentino01^

Hi I am doing this HTML.net tutorial on php.I keep getting this error and I cannot figure out how to fix it.I am running php version 5.4 maybe this is the problem, I appreciate tour help: Parse error: syntax error, unexpected 'TABLE' (T_STRING) in C:\inetpub\wwwroot\phpconnect.php on line 6 This is …

Member Avatar for TonyG_cyprus
0
292
Member Avatar for jemartalaban_1

hi, can u h help me, i have different forms and from form1 another form2 will show and the form1 will become inactive to use and become blurred, and when the form2 closed or hide the form1 will become active again. also can i add an animated pictures to a …

Member Avatar for schroaus
0
168
Member Avatar for GhostWolf

I'm brand-new to C#. Among the samples I've seen is the use of the @ symbol in front of quoted text. What's its purpose? For my first program, I wrote one that opens Excel workbooks for retrieval and update. In the on-line samples I found, that symbol preceded the filename …

Member Avatar for deceptikon
0
168
Member Avatar for schroaus

Recently, I have been working on games in my programming class. In this class I am farther ahead then most other students, and so, must rely on the internet for help instead of my teacher. I have been working on a highscore counter between runs that I should be able …

Member Avatar for schroaus
0
319
Member Avatar for sihled1

Please kindly help. the login iv already managed to code need help with this part. Upon execution of your program, it should first read the user-ids and passwords from a file and create a binary search tree using the user-id as a key (assume unique user-ids for convenience). Once the …

Member Avatar for Schol-R-LEA
0
182
Member Avatar for Sivaram R

I am using django1.3.7 for developing a web application.How to display a datepicker using jquery.I am having jquery datepicker which is working fine with html.The only requirement is i am using model form,so how to render the datepicker is my question.Kindly help me in this problem. Thanks

Member Avatar for Sivaram R
0
265
Member Avatar for wolframP

hello altogether, my name is Wolfram Pagels, Berlin, Germany my status is :retired but enthusiastic c++-fan; I use Dev-C++ since 3 month ago; in the 70th I programmed in Fortran; after a long break I enjoy to learn c++11; e.g.: the day before yesterday I got the following message from …

Member Avatar for Ancient Dragon
0
7K
Member Avatar for redfox9

Option Explicit Dim card(1 To 52) As String Dim cardused(1 To 52) As String Dim deck(1 To 52) As String Dim profit As Integer Dim playerscore(1 To 5) As Integer, dealerscore(1 To 5) As Integer Dim playercards As Integer, dealercards As Integer Dim currentcard As Integer Dim playerscard(1 To 6) …

Member Avatar for redfox9
0
218
Member Avatar for low1988

I have a grid view control with list of rows items. Each rows has a button which would triggers a client side pop up modal form to ask the user to enter some data before continue to execute the server side method. The problem is I cant find a way …

Member Avatar for annaharris
0
577
Member Avatar for erum

i have following small line of code RegistryKey rkApp = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",true); rkApp.SetValue("MyApp1", "C:\\WINDOWS\\myexe"); now when i run code in c# (desktop application ) it make changes in registeries and .exe run when system start ..but the problem is whne i make setup and deploymemt of same code and deploy on …

Member Avatar for deceptikon
0
213
Member Avatar for mallows.yum

Hello all! i have here a code that will display record from my DB. I would like to ask for help on how will i export the displayed record to excel? here is my code: <html> <head> <title>Export to Excel</title> </head> <body> <form action="saverec.php" method="post"> <?php define ('DB_NAME', 'try1'); define …

Member Avatar for Webville312
0
195
Member Avatar for leghorn

hi New to shell scripting. While trying hands at it I came across the operators -z -o in the if block. Any relevant info would be appreciated **if [ -z "$xa_" -o "$va_" == "yes" ]** cheers guys

Member Avatar for leghorn
0
126
Member Avatar for ponnu

I want to populate combo box with particular field value of a table in ms access. datafile = "D:\database.accdb" With cn .Provider = "microsoft.ACE.OLEDB.12.0" .ConnectionString = datafile End With cn.Open Set rs = cn.Execute("select * from mytable") Do Until rs.EOF combo1.AddItem rs!name rs.MoveNext Loop cn.Close I am getting runtime error …

Member Avatar for ponnu
0
266
Member Avatar for LEAN.HEART.YOU

Hi! I'm creating a system right now. My boss told me create an installer for the system. But I don't know how? Can someone help me?! Thanks! God bless! :D

Member Avatar for deceptikon
0
109
Member Avatar for WDrago

All, Anyone have any suggestions for completing the last line below: public/private define a variable's scope. int/char/double define a variable's type. static/non-static define a variable's ____________. I know what static variables are, I just can't think of a word or even 2 words to fill in the blank. (I'm building …

Member Avatar for deceptikon
0
171
Member Avatar for glao

Hello , I have a List<String> and I want to compare in a loop the elements. For example sth like : for (int i=0;i<theList.size();i++){ while (theList.get(i).equals(theList.get(i+1))) ... } I want to compare the next to the previous entry. Thanks

Member Avatar for glao
0
142
Member Avatar for rahul.pragma

Hello, I tried to create a SOAP request but could not succeed. SOAP WADL url is **http://www.mobipost.com.au/httpapi/Messaging.asmx?WSDL** AND request should be like: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <AuthenticationHeader xmlns="http://messaging.mobipostapi.thirdscreen.com.au/"> <UserName>SAMPLE_USER</UserName> <Password>SAMPLE_PASS</Password> </AuthenticationHeader> </soap:Header> <soap:Body> <SendSMSToContacts xmlns="http://messaging.mobipostapi.thirdscreen.com.au/"> <oSMS> <MessageText>THIS IS MESSAGE</MessageText> </oSMS> <ContactIDs> <int>123456789</int> <int>987654321</int> </ContactIDs> </SendSMSToContacts> </soap:Body> …

Member Avatar for pritaeas
0
319
Member Avatar for molti
Member Avatar for bazingatheory

hi i am really new to this and can't see why i can't get my code to work, it is probily really silly but help would be appreciated. i am trying to get the user to enter the number of competators of a 4 lap race so that it can …

Member Avatar for Moschops
0
352
Member Avatar for eltonpiko

hi im working on a project please have a look at the form i need to design the database but i think i will need to instered those info in mutiple tables. ![63d1ebd9a2c0d208980442ded72fb618](/attachments/small/3/63d1ebd9a2c0d208980442ded72fb618.jpg "align-right") hope some one can help me out with this one.the sss1 radio option corespond to the …

Member Avatar for eltonpiko
0
183
Member Avatar for sushants
Member Avatar for stultuske
0
107
Member Avatar for abhi10kumar

I have dropdown down boxes with multiselect; I'm using jguery to display Dropdown with multiselect; I'm populating Select Locality with Select City dropdown. Now, when I select a city from dropdown It should display its locality in dropdown with multiselect but showing localities in dropdown only. Code is attached in …

Member Avatar for abhi10kumar
0
280
Member Avatar for zxz

Hi everyone , i hope someone helps me out. im working my way up step by step learning Java . but no one at the University is helping , they just give us the homework and we have to learn alone.and give the soltution at the end of the week. …

Member Avatar for stultuske
0
284
Member Avatar for nubie.net

hello, my appreciating, if you give example code in my problem i have 1 file csv with dilimited only column A example column a name | address | phone | birthofdate deby | jersey | 123456 | 01-March-1990 my case is I want to convert to txt with delimited | …

Member Avatar for nubie.net
0
520
Member Avatar for noobCode

Hello. Im new here. I have a question: I have this copy constructor here: /** Copy Constructor. * Since landscape is immutable in the scope of our project, you could * do a simple reference copy for it. * However, Fish and Plants are mutable, so those lists must be …

Member Avatar for stultuske
0
277
Member Avatar for manja.her

Ich habe hier folgendes Teilstück, wo Daten aus einer Sonde empfangen werden: for i in range(12): err,data=dev.GetData() print data f.write(data) Wenn cih das ausführe bekomme ich die Fehlermedung: expected a character buffer object

Member Avatar for TrustyTony
0
181
Member Avatar for bradly.spicer

Hi, Been working on this PHP snippet and it was fine until I changed one line. I am doing this inside Wordpress so I can't echo the problems out. "Server error" Hopefull you guys can see where my snippet has gone wrong :)) <?php //Create connection //new mysqli("localhost", "user", "password", …

Member Avatar for bradly.spicer
0
142
Member Avatar for sushants
Member Avatar for Banfa
0
162
Member Avatar for prince.abankwah.5

Hi am writing a program and want to incorperate expiration date of say 30days after which the user can not use the system until he has purchase full version. thank you

Member Avatar for Mr.M
0
218
Member Avatar for Mr.M

Hi DW We want to run an experiment in our lab on ATM, we just want to keep it simple and easy, So far I've just created the two forms and since I've discorvered that most of the ATM's are running a Windows OS which I saw it in one …

Member Avatar for Mr.M
0
341
Member Avatar for B0716L

Does anyone know how to makea n annoying pop up message in javascript, that keeps on opening up over and over again, almost like a loop script? :D

Member Avatar for imBaCodes
0
180
Member Avatar for KyleSforza

Hey guys, So I'm looking for a way to create a form which basically calculates the input given. Like you enter the first integer in 1st input field, second in second input field, push a button and it calculates the answer. Any help would be appreciated.

Member Avatar for imBaCodes
0
137
Member Avatar for LeNenne

Hi I have the file copy statement to copy a sourcefile = App.Path & "\PhoneTel.mdb" destinationfile = App.Path & "\backup\PhoneTel.mdb" FileCopy sourcefile, destinationfile sourcefile1 = App.Path & "\backup\PhoneTel.mdb" destinationfile1 = App.Path & "\backup\backup\PhoneTel.mdb" FileCopy sourcefile1, destinationfile1 how can I get the backup file from backup\backup with the old data, not …

Member Avatar for LeNenne
0
134
Member Avatar for ManojGokhale111

Hello, I wish to know the protected property ChildControlsCreated property (to know the childrens of the Panel) when a button is clicked. Please tell me where I am wrong.The Label3.text should show "True" but displaying "false". why is that so? It is the same for other properties like adapter. regards …

Member Avatar for tinstaafl
0
176
Member Avatar for sathishnadu

Hi I am not understanding , why the subquery of given query is converting into dependent subquery. Although the subquery is not dependent(not using primary query table) on main query. I know that this query can be optimized using joins,but here i just want to know the reason of this …

Member Avatar for sathishnadu
0
276
Member Avatar for xLuFeT

hello guys.. my problem is im gonna use my program into another computer but the sql server is on my laptop.. then i copy my program into another computer then I start debugging but there some of error.. this is my coonection string... conn.ConnectionString = "Data Source=192.168.1.34,1433;Initial Catalog=MyDatabase;Integrated Security=True" in …

Member Avatar for M.Waqas Aslam
0
305
Member Avatar for ahudson

Hi guys. Okay, well I've been at this for a while and I cannot seem to figure it out. Basically, I have a simpleXML PHP file that I'm trying to"parse" (I guess it's called). *All I want to do is get some info from an API XML site and display …

Member Avatar for diafol
0
1K
Member Avatar for Ann95

I want to get the total sum of the amount column. How can I display the total sum to the textbox total? Any possible way to do it? Please help. Thanks!

Member Avatar for Ann95
0
165
Member Avatar for mcoliver88

I Have created a movie database in visual studio 2008, and its just not saving my records to my access database, Can anyone help me, if it helps if you send me a PM i can send you the file Thanks Michael

Member Avatar for imBaCodes
0
267
Member Avatar for sujinsr

int xml_validation(char *xsd_file, char *xml_file) { xmlDocPtr doc; xmlSchemaPtr schema = NULL; xmlSchemaParserCtxtPtr ctxt; char *temp_buf = malloc((strlen(xml_file)+1) * sizeof(char)); char *XMLFileName = malloc((strlen(xml_file)+1) * sizeof(char)); char *XSDFileName = malloc((strlen(xsd_file)+1) * sizeof(char)); strcpy(XMLFileName, xml_file); strcpy(XSDFileName, xsd_file); xmlLineNumbersDefault(1); ctxt = xmlSchemaNewParserCtxt(XSDFileName); xmlSchemaSetParserErrors(ctxt, (xmlSchemaValidityErrorFunc) fprintf, (xmlSchemaValidityWarningFunc) fprintf, stderr); schema = xmlSchemaParse(ctxt); xmlSchemaFreeParserCtxt(ctxt); …

Member Avatar for sujinsr
0
491

The End.