Javascript Type Tools For Windows?
Mar 15, 2011
it may be a silly question but can anyone pls clear why windows app do not have any such tools like jquery ,javascript for increasing performance .As some time we access data from remote server and use only app interface in our machine
View 3 Replies
ADVERTISEMENT
Jun 9, 2009
is there a section on how to add controls, Ie like in fire fox Tools/Options
View 1 Replies
Sep 17, 2009
I want to create a windows installer package using visual studio. It is my understanding that there was a simple way to do this in vb6, you could add an installer like you can add a new form.
How can I do this in vb.net? I downloaded and installed the Windows SDK from [url]... because it said somewhere that it could create installer packages and had tools to do so for .net
View 5 Replies
May 18, 2010
I wish to develop windows mobile applications, preferably using VB (I 've done this in the past with VB6). What do I need to install? All my searches result in information about using 2005/2008 versions of Visual Studio, which seems odd if Microsoft are pushing to use Visual Studio 2010. I would like to use VS 2010. So, can I develop Windows mobile applications using VB 2010? If not, what version of VS do I need and what language should I use?
don't complicate the issue with a load of flannel. I just want to know that I need to install - this, with this SDK, these utilities and write your software in this language (ideally VB).
View 3 Replies
Jun 2, 2011
My problem is that I am creating system tools for windows with a good gui and I don't know how to start with it. One of my difficulties is making code for calling any window tools for example, defragment.msc, backup, system restore, registry editor(I knew there's already a thread in here but it is closed).In short, I will create a "Utility tools ALL IN ONE" for my project somewhat like a registry cleaner or advance system optimizer and the likes.
View 6 Replies
Jun 12, 2011
i need to get data from checkbox in a groupbox. in the groupbox, it also have a label. so my coding as below
[Code]...
View 1 Replies
Apr 28, 2009
I have a panel with some controls in it (several textboxes, a slider, 2 buttons, and a small groupbox).. When I click a button, I want all of the textboxes within the panel to be readonly... So I have this code: [code] When I run it though, I get the following error:Unable to cast object of type 'System.Windows.Forms.Button' to type 'System.Windows.Forms.TextBox'.If I remove a button, it moves on to give me the same error but for a label..
View 4 Replies
Jan 6, 2011
I have worked out how to pass my custom objects into ASP.Net json webservices. Works a charm. Problem I am having is passing in straight arrays of my custom objects or alternatively passing in arrays that are parameters of my custom objects. So for example...
Public Class WebService1
Inherits System.Web.Services.WebService
<WebMethod()> _
[code]....
Fails with error: The value "System.Collections.Generic.Dictionary`2[System.String,System.Object]" is not of type "WebApplication1.WebService1+Person" and cannot be used in this generic collection. Parameter name: value
So how do I explain to ASP.net that it is infact an array of Person? note: That changing the function to as List(of Person) or ArrayList does work but given that I implement my own custom collections this is not optimal for me.
UPDATE: Ok so what I have worked out so far is that this problem is definitely associated with how the JavascriptSerializer uses the SimpleTypeResolver to resolve types. Basically if I do something like this
Public Function AddPersonList(ByVal PersonList As String) As PersonList
I can recreate the error using the following code.
Dim PersonList As PersonList = jsonSerializer.Deserialize(Of PersonList)(PList)
However when I provide my own custom type resolver along the lines of
Dim jsonSerializer As New JavaScriptSerializer(New MyCustomTypeResolver)
I can successfully create an instance of my custom list.Now I have worked out how to provide my own custom convertor in the web.config file. Along the lines of this....
<system.web.extensions>
<scripting>
<webServices>
[code]....
PSS: I have tried to use the assembly fully qualified name as specified in the docs for the SimpleTypeResolver (SimpleTypeResolver MSDN) but this throws a "Operation is not valid due to the current state of the object." exception - which is an error caused when the TypeResolver cannot resolve the name?
My problem was never passing in a List(of Object) into my webservice (I simply posed the question as such to simplify it for stackoverflow). In such a case I would be willing to completely accept using a Generic List(of) but my problem was actually that one of my custom objects implemented a property with a strong typed List(of) so for example:
Customer {CustomerID AS Guid, FirstName AS String, LastName AS String, EmailAddresses AS EmailAddressList}
which now needs to be changed to
Customer {CustomerID AS Guid, FirstName AS String, LastName AS String, EmailAddresses AS List(Of EmailAddress)}
This is admittedly not the end of the world and is probably better in the webservice context (as you have suggested) but definitely a detriment when it comes to internal application usage of my Collection properties. What this means is that once I have this property I either need to cast it to my CustomCollectionList every time I want to use some advanced feature or I need to implement another property which exposes the CustomCollectionList.
View 5 Replies
Jan 9, 2012
I have an asp.net page with a <input type="submit"> for a button and vb codebehind.
<input runat="server" id="review" clientidmode="Static"
type="submit" value="review" name="submit" />
What code do I add so that I get create a required log-in prompt pop-up box asking for a username and password. I also want to make sure that when the user types the password that the password field will not show the specific characters.
View 2 Replies
Nov 9, 2009
I have given reference to Microsoft HTML in COM (am using VB 2008)
"Unable to cast object of type 'System.Windows.Forms.HtmlElement' to type 'mshtml.IHTMLElement'."
I want to retrieve all the properties like the class name, html id of every object in the web browser. I am getting the above exception when i try to direct cast it.[code]...
View 1 Replies
Dec 2, 2011
This might be a stupid question but is it possible to use javascript/jQuery in windows applications? Im making this application in vb.net, just for personal use and im just making it to practice and to learn more about vb.net programming. I know javascript is ment for web applications but maybe there are ways to use them in windows applications aswell.
[Code]...
View 4 Replies
Feb 14, 2009
How would I go about making a windows application extensible with JavaScript?
View 7 Replies
Aug 2, 2011
I've got an sql datareader that has a bunch of paths in it. I need to open up multiple pop up windows / multiple tabs on the browser.So I tried looping through my datareader and doing a ClientScript.RegisterStartupScript but after the code completes nothing opens up.
[Code]...
View 2 Replies
May 5, 2011
I have an intranet asp.net application and when a page is loaded, i want to log the IP Address, Computer Name and the Windows Account(from active directory) currently logged into the computer from which the page is being accessed.
So far, Im able to get the IP address and computer name but the windows account, am getting NT AUTHORITYSYSTEM
View 2 Replies
Aug 18, 2010
So here is the situation. I have a button on one of my extjs pages. This button opens a child window as a pop-up. This child window has a .method attribute as well as a .ref attribute, and also a .id. I need the functionality to open another window with the SAME template, everytime I click that button.I was thinking set the childwindow .method property to something like 'getWindow', and the .ref to something like 'newWindow' and then create a javascript function on the backend to look something like this:
var myArray = [];
var count = 0;
function getWindow() {
[code].....
View 2 Replies
Aug 11, 2011
the following sets my stage
vb.net
MasterPages
Usercontrol with defined events
This is what my usercontrol looks like:When the user clicks the 'Approve' button, an event is fired in the usercontrol that is then intercepted in the main page to do custom code (database update, mails etc...)
[Code]...
View 1 Replies
Jun 25, 2010
My project worked a first and now its giving me a problem.The error
Quote:
Unable to cast object of type 'System.Windows.Forms.MouseEventArgs' to type 'System.ComponentModel.RunWorkerCompletedEventArgs'.
View 2 Replies
May 16, 2011
[URL]The issue is as soon as I change the value of the text boxes it gives me an error and forces me to close the project.
The error is:Unable to cast object of type 'System.EventArgs' to type 'System.Windows.Forms.KeyPressEventArgs'.
However I'm supposed to clear the number of gallons used and the total charged when a change is made to the contents of the 2 text boxes on the form.
View 3 Replies
Jun 12, 2011
Unable to cast object of type 'System.String' to type 'System.Windows.Forms.TextBox'.
View 12 Replies
Mar 31, 2011
same errors or something related to System.windows.forms. Unable to cast object of type 'Public_Information_System_Remake.PIS' to type 'System.Windows.Forms.TextBox'.
[Code]...
View 5 Replies
Nov 16, 2011
Here is the current regex
"src=[""'](http://|./|/)?w+(.w+)*(/w+(.w+)?)*(/|?w*=w*(&w*=w*)*)?[""']>"
What I am trying to do is to grab element that is:
<script type="text/javascript" src="http://www.mysite="I need to grab everything inside these quotes">
With the current Regex I am able to grab the value but it also grabs all the "src" elements on the page.
src="http://www.mysite="I need to grab everything inside these quotes">
What I am attempting to do is to only get this one line that includes the
<script and then the src="">
And then just get the src="info from hrere" How can I edit the current regex code to include <script type="text/javascript"
View 1 Replies
Feb 9, 2012
Private
Sub cmdExit_Click(ByVal
sender As System.Object,
ByVal e
[code]....
View 3 Replies
Jun 27, 2011
VB 2008, DataGridView,DataGridView1_CellLeave(sender, New System.EventArgs)
"Unable to cast object of type 'System.EventArgs' to type 'System.Windows.Forms.DataGridViewCellEventArgs'."
What is the Correct String for "New System.EventsArgs"
Anybody there is to help me out.
View 1 Replies
Feb 15, 2012
What I'm trying to do is have a login type windows form to take a user name and password then compare these with data in the db then open an admin type form. I've been trying to get this to work for a few days now with no luck, about 90% of the code below is a peice together from various forums trying to get it to work. I no longer get an error 26 connection cant be made or what may have you, but now I get "Login failed for user ''.", not quite should what this means or how to go about it.
Private Sub LoginB_Click(sender As System.Object, e As System.EventArgs) Handles LoginB.Click
Try
Dim con As New SqlConnection("Data Source=.SQLEXPRESS;Database=C: cdb cdb.sdf;")
Dim cmd As New SqlCommand("SELECT Username, Password FROM(Users) WHERE (Username = '" & UserTXT.Text & "') AND (Password = '" & PassTXT.Text & "')", con)
[Code] .....
DB has no user/pass needed to open... I think, I didn't set one and the whole app doesn't use one and loads binded data within another form without any problem whatsoever?
View 12 Replies
Jan 27, 2010
I am working on a project that is pretty much done, but I wanted to put the finishing touch on it.I have a shock wave flash object over most of my form, and I load shock wave files onto it so they are accessible from the main flash object. But one of the shock wave menus I have is pretty much just flat, and I was wondering how I can make it a little transparent like the windows 7 GUI so you can kind of see a blur of whats behind the GUI.
View 3 Replies
Mar 22, 2012
Thought of posting one request after several days research in Google. Im currently developing small application and I would like to keep my login account as look same like Windows 8 login screen.
Can somebody help me or guide me to correct direction. Im using VB 2010 and I need to do this with winform application.
required kind of screen is attached.
1. [IMG]D:imageslogon_selection.jpg[/IMG]
2.[IMG]D:imagesSelected_logon_account.jpg[/IMG]
View 10 Replies
Oct 20, 2009
Account Type for installing a windows service
View 1 Replies
Jun 24, 2011
Is there a .net control I can use which will allow me to create a program which allows me to browsers through drives and folders to open any given file in the associated program and start any program?
View 2 Replies
Oct 8, 2010
I have written a web usercontrol (ascx). Inside, there is a Panel that I want to show/hide on click of a hyperlink inside the usercontrol. Normally, this is easy just by doing something like this (the onclick attribute is added to the hyperlink on prerender):
[Code]...
View 2 Replies
Apr 14, 2012
I'm trying to do the following I'm not sure if it's possible using VB.NET. I want to specify default saving point for all files type for example: In my program you choose the path "C:UsersMarkusPictures" for pictures and everytime you download pictures files from website, or using skype or any other program when Save File Dialog opens up (external one not via my program or connected to vb.net just the windows default one) then it will show "C:UsersMarkusPictures" always for .jpg .gif type of files etc...
View 2 Replies