Main 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.
("An exception occured while trying to update the data smart tasks,they will be disabled.SerializationData is empty")i ve been faced this issue every time i copy my project to onother computer and try to open a specific form
Ineed 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 trying to write an application that accesses the SMART data from a hard disk, so I can show all the values and whether anything is over the threshold or failing etc Have spent many hours trawling the web without any success.
I have an xml file stored on an web server and I need to read the data using vb.net for a smart device application.I also need the ability to select indvidual nodes of the xml file. It currently a simple file but will be expanded upon. [code] I need to access the name node to start with.
i have to develop a ticketing package for a client...and he wants to use smart cards too...i would need to develop the package on a smart device i.e. a mobile application and will have to read the card on the device itself ...i have zeroed on the instrument from motorola. and an blue tooth connected printer to print the ticket.how to read the smart card ...i have searched a lot but have not found anything good.the smart card would contain the amt. balnce in it...and after the transaction i need to again enter the balance in the smart card...
i want to read data from smart card using card reader.i need vb.net code help as well as total process that mean what dll/exe will be needed and how can i determine that the card is inserted or ejected from card reader?
[code]Seems to fetch data from my one and only internal IDE drive.The line objWriter.Write("Active: {0} ", queryObj("Active")) does not work if you change up the data in between the first set of quotes. Thus changing Active: {0} to Active: {1} causes an error that the Try Catch doesn't catch (this for...next is in a try catch).I assumed that the stuff inside the quotes was just text and could be changed to anything? Why doesn't the try catch catch it?Doesn't read a USB external drive when attached.i changed {0} to {1} and it crashes.
My 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?
look at the following picture, which showing smart tag for DataGridView Now I'm creating new component and I want it to support showing some properties in Smart Tags, how to add the properties to the smart Tag?
I have a smart tag up and running for my user control but I also want to add a UITypeEditor collection editor to it as well. If I add the collection property to the smart tag in the usual way then I get the ellipse appearing as expected, then if you click on this you get the Collection Editor pop up but if you click ok in the Collection Editor I keep getting an error:
error using the drop down: unable to cast object of type BarChartControl.BarChartActionList to type BarChartControl.BarChart
In the DesignerActionList class I have the following:
Public Property Bars() As BarChartControl.BarItemCollection Get Return _linkedControl.Bars End Get
[code]....
and in the GetSortedActionItems() of the DesignerActionList class I have:
items.Add(New DesignerActionPropertyItem("Bars", "Bars", "Bars", "Manage bar collection."))
I 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.
Ineed 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.
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?
I downloaded VB because I was instructed to do so in order to be able to convert powerpoint files to smart notebook files.unfortunately, this does not seem to do the trick.
i created a smartdevice project,,(target platform =pocket pc;device=emulator; editor= vs2008). (i didnt write any code additional to template generated by vs2008 ) i tried to debug it with F11 hit(step into) ; vstudio asks me to locate a source file named 17d14f5c-a337-4978-8281-53493378c1071.vb. i dont know what this file is; same problem does not occur if i choose C# project.
I want to detect when the smart card reader is connected to the computer. I used a loop structure/timer component but these solutions takes a lot from the processor capacity. There are other solutions?
P.S: when I connect normally the smart card reader to the computer, I don't have a letter where I can access the card reader.
[URL]
P.S 3: my code is:
Do While rgReaderState(0).lAtrLen > 0 If BackgroundWorker2.CancellationPending Then
I have a Digital Signature Cretificate card and card reader, certified by NIC certificate authority.Now I have to implement a login module for a web portal where user will be identified by DSC card.I am very biginner in smart card application field.I have many confution, which are listed below-
1. when i insert card into card reader how can i read data from card using vb.net?
I have got a Dell RT7D60 Keyboard which has a built in Smart-Card Reader. I have developed an application in vb.net and wondering if it is possible to allow users to log on to this application using smart card Authentication.I want to keep the authentication simple like instead of allowing user to enter username and password to open the application, i would want the application to ask for example, "Pls insert your Login-Card" and get the info from the card to authenticate the user.I have no clue for how to begin. Is it too complicated to integrate it in the .net application.
Just today I've completed a trial version of my application - I then uploaded it to my webserver, and to my surprise a user already (almost one hour after I uploaded it) bypassed the protection and used the software 8 times (instead of the limit of 1 use)!
My "protection" was pretty weak. After the program has been used, it just writes a value to a single registry key. The user just deletes this registry key and can use the program once more, and so if someone does this enough times, he can use the software for as much time as needed.
Anyway, since I'm not really experienced in programming, do you guys have some nice working and possible easy to implement trial protection? I'm not looking for anything too serious, but it shouldn't be as easy to bypass as my current protection.
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.