I want to Return a List of all the PaperSizes with Included Dimensions. When I open my form it displays the Current Default Printers PaperSizes. I need to set the PrintDocument Object to another Printer... How might I go about changing my PrintDocument Object to the next printer installed on my computer? So I can then get it's Papersize info. Private PrintDoc As New PrintDocument
I'm writing a console application in vb.net using which i'm trying to print pdf documents from a specific directory. I'm able to print the PDF files but my problem is that the PDF files vary in Page sizes and the printer fits them to the default page size which is set to letter.
My questions is, Is there a way to enable "Choose Paper Source by PDF page size" using vb.net for the printer settings.
Trying to write a Vbscript. Actually, I'm trying to modify an existing script that I found on the internet. I basically need the script to run on workstations, delete printers from our old print server (master), and install the corresponding printer from our new print server (dc01). I should also mention that the printer names have changes slightly. So far, the script does a great job of deleting printers from Master, but none of the corresponding dc01 printers are installed.
First: I have a numericUpDown and a class that are bound.
Me.percent.DataBindings.Clear()Me.percent.DataBindings.Add("Value", options, "percent")When I change the numericUpDown the underlying class seems not to update. I have to click outside the numericUpDown to force validation and force syncing. This is very counterintuitive and will cause problems. How can I make sure the underlying data object gets the new value on valuechange rather than validate?
Second: After I change the numericUpDown I have an option that serializes the underlying data in an xml file. The underlying XML file does not always get the right data. To figure out what is happening I added a button that outputs the values of the underlying data object and it is always getting updated. In other words...the control and the object values always agree. The serialize
Our Dev Team has heterogeneous OS systems, scattered between 32-bit and 64-bit. This is not ideal, we are actually planning to homogenize our infrastructure, but in the meantime we have to deal with it.The issue is that when a 32-bit developer checks out a 64-bit solution on SVN, he has to manually change the target platforms all over again to get it compiled (not to mention other side problems)
My question is : What clean (though temporary) solution could be addressed in such situation, permitting each developer to keep his default project/platform settings while checking out and in from SVN.I guess that -at least for the first time a project/solution is checked out, a dev still has to tweak the setting manually to compile it properly. After that, according to relevant SVN filters, it is possible to ignore some settings files (which ones, by the way?)
Is there any good richtextcontrol for .net forms i tried almost all extended richtextcontrols from several websites but there is no print like view for any control, i want to add deference system in my app but there is no free control available and controls like from [url]...are very expensive for a student. iam searching from last two months but find no results and tried hard to make my own control but found no idea to start with.
We are trying to implement Source Control with Visual SVN, Tourtoise, and Ankh. All works well once a project is placed in the repository. But, when you try to open a project stored on your local client, that is not stored in the repository, Visual Studio freezes up. (VS2008)
We are trying to implement Source Control with Visual SVN, Tourtoise, and Ankh. All works well once a project is placed in the repository. But, when you try to open a project stored on your local client, that is not stored in the repository, Visual Studio freeze
I'm looking to move all my code into the cloud using some sort of source control service. It must first be able to integrate with Visual Studio 2008 and 2010, and possibly other environments. Meaning something that's fairly popular among different development environments. The only source control I'm familiar with is VSS, but I think it's time to move away from that. I also prefer a free service. I know that there are only code repository services that are free, but I just don't know how that integrates with Visual Studio and source control.
is there a way through vb visual express 08 to ask a printer if it has toner or paper? im not to sure on how to communicate with printers in this way if it is at all possible.i am writing a program to display the status of the printer and this is key.
When you go to the Start button and then "Printers and Faxes" and you see a list of the printer objects defined on that PC. In my App VB.Net app I want to be ale to use a drop down box to display this list of printers and allow the user to select one of them.So, Not necessarily a list of printers on the Intranet that the user is connected to, only on their personal PC.
I need to get the page source of a website using a proxy without using any ocx control and as much as possible without using a web browser to make it more difficult When i get the source i need to fill a textbox and press a button. After i get the response as html.how to do this because i found alot of topics in this forum especially kelimna's.
I am using SourceSafe 2005, and I have a project in VB.NET Framework 4.What I want is a way to automate the build process and hopefully integrate easy deployment. I'd like to be able to send an automated notification when a build is made that lists the comments of the SourceSafe check-in's in the body of the message.I've looked at a few options and some of them are confusing. I've seen it implemented with SVN, nAnt and CruiseControl, but it looks like it might take ages to set up being a novice of the aforementioned technologies.What would be the easiest way to set something like this up in your opinion? If I have to start using SVN for this, then that would also be a possibility.
I need to create a new tree view, that is linked to a particular table.
Each row in the table has a parent id that links back to the table's primary key, and that defines the node hierarchy. So that relationship needs to be indicated in the databinding.
Am I able to use the standard treeview control in Visual Studio 2008, or do I need something extra to make this work?
Resources: Visual Studio 2008 Pro (currently in 90 days trial) Platform: OS - Vista Home Prem 64-Bit Language : Visual Basic
I'd like to bind my textbox into two (column)from different table is it possible to do this? I already know how to bind (one-to-one) controls and table.
I'm using a webbrowser control to access an e-mail account, once there I need to find out how many emails currently in the inbox, and it's contained within certain tags and letters, and only them.The tags & letters are:
Quote:
<em>Inbox <b>(Email number)</b></em>
So i need to get what's inside the brackets, which also has tags and inbox.Only way I can see of getting that is regex? - Which I've rarely used.
I have stumbled upon a open source ribbon control (here) that looks perfect for my little project at work.
My problem is that I cannot get it to build in VB.Net 2010 Express Edition. I created a new project with the standard form1.vb. I then added the reference to ribbon dll. But I get errors when trying to build the app. I have attached a screenshot with the error.
I am creating a Visual Studio .NET plugin using DXCore for my group to use and have been trying to figure out how to open the plugin in a tab like source control does instead of it opening in a new window.