I am just starting working with graphics and I would like to draw a square and then place an image on it. My long term goal would be to create a 3D square and place pictures on it with the ability to click any picture on the square and run code to change the picture.
I am creating a front end search app for AD. I have two functions both of which work, however they both have some faults.
I generally search with a either a partial name, first name, or last name so I need to use wild card searching.
This first function returns data however I cannot figure out...
Our organization just went to a web based time clock solution. We have discovered a major flaw in the application. If a user closes IE by using the X - close button without logging out then next user is automatically logged into the previous users account.
We have instructed users...
I have an app I created that currently writes data to a sql db that I created and included in the app build. I did not really think this through as the app fails on another PC then I realized that I would have to install sql express on every computer which is not very user friendly.
So what are...
I am building my first Winform that uses a datagridview. I have used the ASP.Net gridview with the sqldatasource control many times.
Here is the setup.
I have a SQL DB file. I program adds data to the db. I have a link on my main form that shows my second form which has 3 datagridviews. Now...
I was just curious. When I build my application and look in the debug folder I expected to see the exe with the icon that I specified in the project settings however; it was just the generic icon. Is this normal or am I missing a setting?
I have a service that I created. The first thing it does is write a line to a text file. It is then suppose to run some functions that are in classes. The service starts then an error box comes up that the service failed stopped and that some services stop when the processing finishes. The main...
I am trying to get a percentage that just does not seem to work.
I am using WMI to get the Total Physical memory of my system and then the Free Physical Memory. Then get the percentage.
2147483648 - Total Memory
838028 - Free memory
According to Task Manager my physical memory is 59%
I have a datagridview control on my form that is used to display data from a DB query.
I am using a backgoundworker control that is used to get the data so I can display a progress bar for user notification. When the thread completes I rebind the data source of the grid and show the data.
This statement runs correctly when I open a new query on the DB in server explorer.
SELECT ID, [Program Title], [Contact Hours], [Start Date], [Expiration Date], Presenter, [Type of Program], Method FROM Programs WHERE ([Expiration Date] BETWEEN ? AND ?)
Now when I run the following code in my...
I am trying to make a form expand from one size to another using a slider animation.
The problem is when I run it the form resizes but without the animation. I'm not sure how to use the animation when resizing the form. It works if the form is a set size and then I run the animation.
Trying to get a IF statement working.
strUSER = "Test1"
This works.... The exception does not fire
ElseIf Not strUSER Like "Test1" Then
Throw New ArgumentException("Error")
This does not.....The exception does fire
strUSER = "Test1"
I have a listview that displays images in the large icon view. I placed a picturebox ontop of the listview in the bottom corner so that the user could drag items onto the picture box.
I stupidly thought it would be easy to do drag n drop where when you drag an image it would follow the...
I have an app that I wrote with a SQL DB. I installed this on a test PC and then realized that it was making me download and install SQL Express. The app then failed as it could not connect to the DB.
This DB is really just a temp storage place that allows me to place data and then run...
I am using backgroundworker thread in my app. I also have a class in my project and am able to updated the user UI from the form, but most of my time consuming operation happens in the class so I tried to do an update like this Form1.BackgroundWorker1.ReportProgress(4, strname), but...
I have an app that I am writing that uses a SQL DB. I guess I assumed that since the app is interacting with the DB that it would not matter if the user had SQL installed or not.
I have SQL on my Dev machine and have not had any issue, but a test build on another PC failed so I'm wondering if...
I used an example to create a XML document like this.
<?xml version="1.0" encoding="utf-8"?>
I have a table that has 3 columns.
Now I know that there are duplicate records. I want to return all the records and I want to group them by the column that will show the duplicates which is the hash field. I want all the records returned and I want the duplicate...
I am creating a win app that uses a class. Every time I try to fill a property or read a property of the class I am getting an error that there no instance of the object.
I have a web app that I am also building that I have dozens of classes in and have no problems what so ever so I am...