how to get the event before save, clsaActionExtender
i have a winform with a button cmdSave with the property Me.CslaActionExtender1.SetActionType(Me.cmdSave, Csla.Windows.CslaFormAction.Save) i want that when te user clicks the cmdSave button, a...
View Article[Question] How to prevent submitting form from other websites?
I looked throught my code and saw, that anyone who understands html and javascript can simply add stuff to my website using same form information as mine. How to prevent it? By the way, I am using...
View ArticleDividing a string into multiple strings
I have made a code to divide a string from a richtextbox to multiple variables each of them contains only two characters, then to do a certain operation on each variable and then rejoins the multiple...
View Articleusb relay board will not respond in vb.net unless test software is use
i am trying to write a program to controll a usb relay board. i have got everything working they way i would like except for one issue. when i debug my program, or publsih it and run it, i can not...
View ArticleLanguage/Engine for indie games
Hi everyone, I was just wondering if some of you could tell me what is the most common programming language/ framework(c++, c#, java, XNA) and games engine(Unreal SDK, Unity 3....) used in indie game...
View Articlemove on month
I AM WORKING IN VB6 I HAVE ONE Label THAT I WANT TO MOVE WITH THE DATE CHANGE. ON THE FIRST OF THE MONTH IT WOULD MOVE DOWN THE WIDTH OF THE Label. EACH MONTH WHEN THE MONTH DATE CHANGED. I WANT TO...
View ArticleSource code
Hello there, I am looking for PHP source code but i cannot find from this website. It is showing error. Where and how can i PHP source code. Thanks for all
View Articlepopulating dropdown box with json data
i have got this code so far but it don't seem to be doing what i need, i have followed a few examples but this is what ive done at top of my head. hope someone can help. just need to populate the table...
View ArticleHow to pass variable(s)?
private static void colReader(String s) throws IOException { FileReader readhandle = new FileReader("C:\\****\\****"); BufferedReader br = new BufferedReader(readhandle); String line = null;...
View Articleremove element for array c++
hello, i have to code a program that reads numbers from 1-100 and counts the occurence of each number.the input ends with 0 if input two 1 will print 1 occurs 2 times 1 occurs 2 times how can i make it...
View Articlederp - misinformed about the xna/directx phase out email.
https://ventspace.wordpress.com/2013/01/30/directxxna-phase-out-continues/ I am not taking this as gospel until I hear it from the horse's mouth, but he claims: QuoteThis email was sent out to...
View ArticleVB6 Upgrade to VB.NET missing OCXs
I've got a VB 6 project that was created by someone else, and I'm trying to upgrade it to VB.NET. The upgrade wizard gives an error that I'm missing the following: comdlg32.ocx comct232.ocx...
View ArticleProblem calling a method?!
Hey, just trying to get these buttons to work by calling the methods "correctAnswer" and "wrongAnswer" at the bottom into earlier code. I had it working earlier but it was "styled badly" so I'm trying...
View ArticleBuilding a string in a loop
I'm currently learning Python 3, and I have a task to: Write a program which prints out this table. (The grader will ignore spaces at the end of the line.) I'm supposed to: Focus on creating one line...
View Articleopenmp
Hello I have made a code for serial conversion of a tga picture from rgb to colour and blackwhite I would like to ask what to do to make this with threads and openmp Just some hints offcourse not the...
View ArticleIs it bad to pass dataobjects from entity to business logic?
hi, I would like to know if its a bad practice to pass dataobjects(from the entityframework) as parameters to methods in my business logic. If so, why? and would the solution be to create business...
View ArticleProblem calling a method?!
Hey, just trying to get these buttons to work by calling the methods "correctAnswer" and "wrongAnswer" at the bottom into earlier code. I had it working earlier but it was "styled badly" so I'm trying...
View ArticleUsing SendMessage(hWnd, WM_CLOSE, 0, 0) Freezes My Program
Hello Everybody, I am making a program in VB 2008 using API functions to find all the windows that are opened and get there handles, classes, Id, and so on and put it into listboxes. Then whatever one...
View ArticleLost in development
Hi there, My first post, yay. First of all, let me say that my question is about learning something new, not just programming. I'm a 32 years old graphics designer(mostly motion graphics 2d and 3d...
View ArticleAdding all elements of one array to another
Lets say you have array arr1 = {2,3,4,null,null,null,null} and.. arr2 = {6,7,8} What I want to do is to add the arr2 to arr1 on top of the stack so that after the addAll method arr1 would look like.....
View Article