Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
66% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
3 Commented Posts

32 Posted Topics

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
624
Member Avatar for divin757

I am trying to allow a page to print nicely if a user uses the built in browser print. However the page is too small in IE. The frustrating part is I have no way to debug the page as the css is only applied at the time of printing. …

Member Avatar for divin757
0
239
Member Avatar for guyinpv

If you placed one image on the right and one one the left and made a table in the middle it my do that for you. I have not tried it but I cant see why it wouldn't work.

Member Avatar for Philippe.Lahaie
0
317
Member Avatar for divin757

I want to have an iframe expand and center on the screen when a button is clicked. This would be similar to creating a lightbox for it but I dont want to have the content in the iframe reload. I have found solutions that can resize an element but it …

Member Avatar for drjohn
0
176
Member Avatar for divin757

Hi, I have a custom httphandler (HttpUploadHandler.ashx) which is used for handling requests from a file uploader. It collects all the files from a client then fires a thread to do some processing on the files. When large amounts of files are added it will throw 'Thread was being aborted' …

0
129
Member Avatar for divin757

I am having trouble debugging in sharepoint. It is acting like I am debugging a different dll than the one I made code for. When stepping through it will skip lines occasionally and randomly just stop debugging. Often it will start debugging then stop randomly and show any new breakpoints …

Member Avatar for divin757
0
199
Member Avatar for divin757

When I try to navigate to the service it shows me the methods like normal but when I try to see the wsdl I get a file not found error. I have created both the wsdl.aspx and the disco.aspx. They have been deployed into _vti_bin folder. I was able to …

Member Avatar for divin757
0
262
Member Avatar for vedro-compota

If you are having problems a good idea is always to step back and try and isolate the it. Initialize the property in the constructor to see if that is the problem.

Member Avatar for shiva07
0
164
Member Avatar for divin757

First of all I do not want to start a argument about which is better the real thing or you you make yourself. I am trying to pick hardware for a mac box and I want to make sure the hardware will be compatible before I drop a bunch of …

Member Avatar for Ezzaral
-2
214
Member Avatar for divin757

i was sure this should be easy but here i am. i have a text file with information of the tones required to play the mario theme. i was needing to read line by line and break out the numbers and put them in a array. the problem is i …

Member Avatar for Xcelled194
0
135
Member Avatar for eoop.org

what is the point of the argument, it is never used [CODE] string[] args [/CODE]

Member Avatar for divin757
0
177
Member Avatar for manugm_1987

i have never heard of anyone doing this. but i know it is possible with scripting languages. but that is an area i cant help with good luck

Member Avatar for Momerath
0
130
Member Avatar for niketakapoor

This is a copy pasta from an ASP project im working on let me know if its helpful or not. [CODE] public static void OrderDetails(GridView gv, int orderID) { using (SqlConnection conn = new SqlConnection(WebConfigurationManager.ConnectionStrings[sConnNorth].ConnectionString)) { conn.Open(); using (SqlCommand comm = new SqlCommand("OrderDetails", conn)) { comm.CommandType = CommandType.StoredProcedure; SqlParameter param …

Member Avatar for divin757
0
131
Member Avatar for divin757

I have an image for the background of the form I'm working on, but I had to increase the size of the form. Is it possible to have it scale the image instead of tiling? I could stretch it in photoshop but I was wondering if this was possible.

Member Avatar for lxXTaCoXxl
0
296
Member Avatar for Fortinbra
Member Avatar for Jessurider

you could set bools indicating the state of the keys then have one timer that checks the bools and makes the changes.

Member Avatar for agugglez
0
174
Member Avatar for JudeV

The ball steps off the screen and you check its placement and flip the sign. but next time you check its still off the screen so you flip the sign again. try having a if statement for each wall that also checks the direction of travel before inverting the sign …

Member Avatar for divin757
0
780
Member Avatar for stevanity

i'm taking c# in school and all my instructors shudder when ever VB gets mentioned

Member Avatar for UsSy
-1
221
Member Avatar for danuz

did you make a bubble sort lol. there are a lot of better methods for sorting. what you did was go through your array a bunch of times checking if a number is bigger that the other and if it is you switch. this is highly inefficient because you may …

Member Avatar for ddanbe
0
116
Member Avatar for TheDocterd

you could use the windows registry but i would just save it in a text or binary file

Member Avatar for TheDocterd
0
91
Member Avatar for sharkpit

you may not always want to put public on your class variables. if you give access to them through a property you can also do data validation before the user crashes your program. the first one is an automatic property, the system will automatically make its variables. the second one …

Member Avatar for Mitja Bonca
0
130
Member Avatar for little.daffodil

that doesnt make sense [CODE] while ((input = sr.ReadLine()) != null) { int i; // if ((input = sr.ReadLine()) != null) for (i = 0; i < 2; i++) { input = lines[i]; } } [/CODE] does nothing. you are assigning input from your string array but then dont use …

Member Avatar for little.daffodil
0
268
Member Avatar for tylerjgarland

you could have a color property. when you adjust a slider just update that component of the color property [CODE] private void redTB_Scroll(object sender, EventArgs e) { m_red = redTB.Value; colorBox.BackColor = Color.FromArgb(m_alpha, m_red, m_green, m_blue); } private void GreenTB_Scroll(object sender, EventArgs e) { m_green = GreenTB.Value; colorBox.BackColor = Color.FromArgb(m_alpha, …

Member Avatar for tylerjgarland
0
385
Member Avatar for i.am.wolf

i dont understand how you expect the calculation to work but did you mean to overwrite the points value. should you have maybe added to it or averaged them together... and also you could change the switch statement to know if you got an 'f' or not [code] switch (letterGrade) …

Member Avatar for ddanbe
0
385
Member Avatar for arya6000

im in visual studio 2010 and it doesn't have that control. are you sure that is the correct name?

Member Avatar for arya6000
0
91
Member Avatar for tiramisu10

if you initialize both of them at the same time, the default time value will seed the same value to both. you could just make one random gen and use it to get both rolls.

Member Avatar for tiramisu10
0
116
Member Avatar for aminit

hello is returning a void result i would just change that to a string return. [code] string hh = ""; hh = hello(); string hello() { return textBox1.text; } [/code]

Member Avatar for harrypalmerr
0
123
Member Avatar for VIeditorlover

you could use the output window to display what your prams are before calling. System.Diagnostics.Trace.WriteLine()

Member Avatar for divin757
0
103
Member Avatar for Klaurac

i think you are right that it is sorting by string, not my numeric value. you could write a custom sort that you pass the column index...

Member Avatar for divin757
0
111
Member Avatar for fobos

i dont know about coldfusion but you should be able to do something like this substring(0,3) + "." + substring(4,stringLength) or if you can use it like a numeric value then just multiply by 1000

Member Avatar for levine
0
127
Member Avatar for itisnot_me

you could use integer division to get the lower value then add ten to get the upper 33 / 10 * 10 = 30 30 + 10 = 40

Member Avatar for Member #120589
0
100
Member Avatar for ShinyDean

you could try using an out or ref void flip(out int iCoinState) { }

Member Avatar for ShinyDean
0
2K

The End.