Tasks Required In Implementing A DataGrid?
Sep 14, 2010I am adding a checkbox column to my datagrid and wondering where I should code in order to give the checkbox some functionality...
View 3 RepliesI am adding a checkbox column to my datagrid and wondering where I should code in order to give the checkbox some functionality...
View 3 Replies[code]i want some help on how to use the datagridview control to perfom tasks that i usually used to perfom using a datagrid control.i've put tha datagrid version of the code above. If you think it you can achieve it
View 3 RepliesIneed a VBS script that removes all scheduled tasks which start with a specific string.
For example, delete all scheduled tasks which start with "My Application Tasks..."
I wanna use this VBS script in my application uninstaller so all tasks created by my application are removed at the uninstall time, however am not familiar with VBS.
i am having a datagridview name of DGView and Textbox Tb when i write sometheng in TextBox so the similar information of datagridview row is selected my problem is that when i pressed up or down so the focus move on datagridview but when i pressed up so the datagridview ist ro seleted i want ,when i pressed up so the foucus move on seleted row of datagridview,
View 1 RepliesIs it possible to automatically insert a Code Snippet when an interface is implemented? If so, how do you do it? I am looking for something similar to when you implement IDispoable in VB.[code]This will be used by web forms when transfering parameters from one page to the next using Server.Transfer
View 1 RepliesI have a class set up to hold values on a registration form (VB.NET, MVC), and among the properties is a Password property:
[Code]...
Does vb 2010 have a 'REQUIRED" property or control that allow you to make a textbox a "required" field? I googled and saw something about required property in controls in toolbox but somehow I could not find it anywhere in my vb 2010 toolbox. Would it be easier to write it? Does anyone have sample code?
View 6 RepliesMy program performs a bunch of task in a loop. After each task completed it saves log/status of task in a text file. The program runs fast but if there is more than 10,000 tasks it becomes slower and it takes a lot of CPU because of frequent I/O operation.
Is there a better way to save the log/status of task without making the program slower? At first i used a textbox control to store the log but the problem is textbox control can not hold a lot of text.
how the threading within vb actually works. am i of the understanding that every time you create an event, through a button control for instance, that this infact creates a seperate process which will run independantly to another. say for instance you had two buttons on a form and each contained code which took 5 seconds to execute. if i were to click one button into action and then the other with a second, would the two processes run alongside one another or would i have to wait for the first code to execute before the second button could be executed?
View 13 RepliesI am trying to create a vb application that will create sscheduled tasks .Created a windows service and set it to start manually for now.Just as a test, when the timer expires I have set it to start 'Notepad' as a process which I can see listed under processes in the Task Manager, but cannot see it as a scheduled task.What I am unsure whether this is the right way to create a scheduled task and if it why can't I see Notepad in scheduled tasks.
View 5 RepliesIneed a VBS script that removes all scheduled tasks which start with a specific string.For example, delete all scheduled tasks which start with "My Application Tasks..."I wanna use this VBS script in my application uninstaller so all tasks created by my application are removed at the uninstall time, however am not familiar with VBS.
View 4 RepliesI have the code below:
Dim i As Integer
Dim objExcel As New Excel.Application
Dim objWorkbook As Excel.Workbook
objExcel.Workbooks.Add()
[code]....
At the end of this routine, eventhough the data was correctly saved to my Data.xlsx file, this routine also opened 15 EXCEL.EXE tasks in task manager.I thought that I had cleaned up before quitting. By the way, whether I write to 1 or 5 or 10 cells in Data.xlsx, 15 EXCEL.EXE tasks would be opened regardless.Is there a way to (easily and) completely close all EXCEL.EXE in task manager before leaving my application?
simple way of attaching a progress bar to the tasks of a button.When I press a button, several tasks will commence and I want a progress bar to show it's... well... progress.
View 5 RepliesI am writing a VB.NET application that creates a new task item for another user. Is there a way of having this task go straight to their task list without having to open the acceptance email ? ( Would help if such an email is not sent in the first place to avoid cluttering)I found a similar post on experts-exchange forum, though no one was able to answer that till date.I assume that can be achieved using shared Task folder but could not get good examples on msdn to work with.
View 1 RepliesI am building an application that will run through various tasks like database backup, zipping some other files and so on.I have the progress bar figured out for each individual task and I have all my tasks working.I am trying to build an interface to display to the user to show them the progress of the entire run.I was thinking like a list box or other object where I could put a green checkbox image or red x image as each tasks runs and is a success or failure.
View 1 RepliesIs there a way to delete an specific scheduled task from Windows XP/W7 ? I am trying to do that via VB.NET. The Idea is create a console app without any external DLL.
View 2 RepliesMain development XP machine died so I got a new XP machine, installed SQL Server 2005 and VS 2005 Pro, and copied my files.Projects in new VS 2005 work except the Data Sources pane won't refresh and won't show all my data sources for an existing project (from the old machine.)
Error: " An exception occurred while trying to update the data smart tasks, they will be disabled. Key not valid for use in specified state."Update: I cannot even add a new data source to a brand new project. This is VS 2005 from my MSDN subscription.
How do I assign a priroity to a task for a resource and then sort within MS Project using VB.NET?
View 2 Repliestrying to automate some manual tasks. The task to access a web page (asp) login and then get some details from the site. The challenge is that the home page after login is build of 3 frames. when i see the page view source from the edit menu all i see are frame names. Once i right click on each frame and view source i am able to see the complete source - variables javascript function etc. The following code helps me to navigate :
vb.net
Set ie = CreateObject("internetexplorer.Application")
Dim s As String[code]....
After this the page has been logged in. Now to proceed further i have to click a "image" object.
1) I tried qualifying the image like ie.Document..........item("img1").click this doesn't work
2) I tried calling the javascript function directly
ie.Document.all.Item("frame1").Document.parentwindow.execScript "JS_WGorUsers (funcname)", "javascript"
The 1st option gives a run time error and 2nd option says access denied. (if i login manually i am able to click the image.
i have a trackbar that has 5 little lines and i want them to do different things
View 5 RepliesI have a problem with ListView Group Tasks in Visual Basic.net. I've created a derived class from ListView wich have collapsible groups, and other features not included in common listviews. I use the LVN_LINKCLICK to catch the Task clic event, but when
View 1 RepliesIS there any method to perform two different tasks in one click event Like By clicking OK button i can do
1- Instantiate a new form
2- Add somthing to listview or can do something else
But these tasks not to me simultaneous. One task at a time Actually these taks will be performed simultanously, but i want one task to be performed at a time, not both?
I have a main(frmmenu.vb) form which is the mdi parent of other two forms (namely frmcandidatelist.vb and frmviewcandidate.vb)...........Two forms are displayed simultaneously on frmmenu each separated by split-container(frm-candidate-list.vb on left side and frm-view-candidate.vb on right side)
Frm-candidate-list.vb shows name-list of customers on a datagridview. While i click on a item from that list, details of the respective customers(like name,id,photo,address,etc) is displayed on the right side form(frm-view-candidate.vb).....
But there is a problem. Loading details of a customer takes time(since i have to connect from remote database)... So the whole program becomes hanged(like) till details are loaded.....
I have a program that has the option to create a restore point. My problem is that when you click on it to do so, the program just locks up until it's finished creating the restore point. I have put a separate form on the program and it has a Marquee Progress Bar Control which I downloaded, so the idea is.
User clicks "Create Restore Point"
frmRestore.show
Marquee Progress Bar goes on and on while the restore point is created
Restore point is done
frmRestore.hide
The thing is, when you click create restore point, the form shows and the program just locks up, onces the restore point is created the form hides again. Could this problem be solved with a Background worker? To be honest I'm not completely sure what it does, I mucked around with the controls but can't seem to find anything useful.
I have a program that has the option to create a restore point...My problem is that when you click on it to do so, the program just locks up until it's finished creating the restore point.
View 13 RepliesI'm attempting to write a script that will read other peoples' shared tasks from Outlook 2003 and write them to Excel. So far, I've been able to do so for my own tasks, but I'm at a loss with how to find someone else's tasks. [code]...
View 5 RepliesI received some good advice previously on parallel.foreach vs Task.Factory.StartNew. I have implemented both and have been surprised with the efficiency of both. I used the following link o try and understand exceptions and incorporate it to be notified if a task stops for any reason the program will detect it. Is there any definitive way to do this without wait() or waitall which will tie off the interface and other tasks running at the same time.
Try
pcounter += 1
Dim factory As Task = Task.Factory.StartNew(AddressOf FileParser.Module1.Main)
[code].....
In my application i like to include the Birthday's schedular... i.e if i click/double click the date in DateTimePicker or in MonthCalendar control an inputbox opens in which we have to enter the birthday person's name to the selected date....
View 3 RepliesI'm wondering if there is any scheduler control in Vb.Net -MS VS 2005- and if not I hope I can find a one - free - that I could use on my application...
how to implement scheduling tasks requirement in my application..
Can I make a menu item to execute 3 tasks? For instance when I select a file from a ListBox and I press ToolStripMenuItem1, the program will move the selected file to a directory, execute archive.bat file and the move the archived file to another directory? I tried but I can make only one operation - to move the file.
View 6 Replies