Put IIF Function In Control Source
Jul 14, 2011Wat wrong with below formula? i want put it in control source.
[Code]...
Wat wrong with below formula? i want put it in control source.
[Code]...
ive two custom controls, which are used to draw and edit etc...(like paint but customized....) i want to save their images with a single click....So im using the Getimageofcontrol function to do it....its code is below:::
Public Function GetImageOfControl(ByVal c As Control) As Image
Dim rc As New Rectangle(c.PointToScreen(c.Location), c.Size)
Dim i As Image = New Bitmap(rc.Width, rc.Height)[code].....
and the code to call this function for saving the images is simply.. ...
GetImageOfControl(pboxd).Save("c:78.jpg")
GetImageOfControl2(pboxf).Save("c:lp.jpg")
but the problem is that both the images have the same content....
What does 'Add To Source Control' do whenever I save a project in VB? Any articles related to this option?
View 2 RepliesWhat does it mean for a project to be under source control?
View 1 RepliesFirst: 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
[Code]...
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?)
How can I configure Source Control to work with VS.NET
View 2 RepliesHow can i control the printers paper source?
Im printing a document but i want the user to only be able to print from the Manual feed tray on a HP 2055dn printer.
i currently have ths code in place but is anyone able to tell me if it would work or not.
i was using a print dialogue box but changed my mind as i just want to print the document as soon as the button is pressed.
' Allow the user to choose the page range he or she would
' like to print.
PrintDialog1.AllowSomePages = True
[Code].....
i want to get the html Source code of website,it something like:wb.Document...
View 13 RepliesIs 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.
View 1 RepliesWe 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)
View 1 RepliesWe 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
View 7 RepliesI'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.
View 28 RepliesI 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.
View 5 RepliesI 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.
View 2 RepliesI 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 have a textbox with its Text property bound to a datasource. How do I update the datasource in code?
View 3 RepliesI'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 need to know what files and folders must definitely be added to source control, and what files/folders can be left out.
I know I can leave out bin/ and obj/, along with the .suo file since it's user-specific, but what about the rest of the tree?
FWIW, here's a one form + one module project:
Directory of C:ProjectsMyAppWindowsApplication1
03/10/2011 15:04 3.040 Form1.Designer.vb
03/10/2011 15:04 5.814 Form1.resx
[Code].....
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.
View 2 RepliesHow can I congigure Source Control to work with VS.NET
View 3 RepliesI have a MS Access database set up, with a Period field that has either values 1, 2, 3, 4 or 5. I retrieve these values using a database connection and I would like to reference a particular control based on what period was grabbed from the database.
Here's example code, pseudo of course.
TextBox(dr(3)).Text = dr(0)
dr(3) contains the period, and dr(0) contains the content I would like to put into the text box. I have these text boxes on my form: TextBox1, TextBox2, TextBox3, TextBox4 and TextBox5.
So if dr(3) contained 2 then I would want to reference TextBox2.
How can I develop a custom data source control for WinForms ? This example is just for ASP.NET. VS version: VS 2008
View 7 RepliesI have an object databound to a WinForm. One property, BOLNumber is bound to a textbox on the form. When you change the value in the form, the underlying BOLNumber property is changed. But the property setter does some "formatting" to the value. I want to BOLNumber textbox to reflect the changes to the value made in the property setter immediately upon the textbox losing focus. I tried implementing the INotifyPropertyChanged interface, but I am either doing something wrong or misunderstanding something it would seem. How do I get the databound control to reflect the changes to the underlying data source?
Public Event PropertyChanged As PropertyChangedEventHandler _
Implements INotifyPropertyChanged.PropertyChanged
Public Property BOLNumber As String
[code]....
I have created a DLL that contains basic functions used in my projects. With the DLL I:Compiled it as a Release Moved the .dll file to another folder Deleted the .pdb files in the binRelease folder When I add the reference of this DLL to my projects and I debug my code, I step through line-by-line and when it comes to a function from my DLL, it actually opens up the source files of my DLL and debugs line-by-line in the DLL source code.
This is REALLY annoying for my purposes and I have tried many things now to disable the debugger stepping into my DLL code. I did a text search in the DLL file and found it stores the path of the project folder.
So far the only thing that's worked is moving/renaming the folder where the DLL project source files are. But everytime I re-build the DLL, once again I would have to move/rename the folder again as it's updated the location of the source.
I have seen a few open source c# "Text code editor controls" that have auto indent and support contractions (+ - things you see in the code window to contract an if statement for example).
View 3 RepliesHow can I access the HTML source of IFrame within a page by using WebBrowser control?
View 4 RepliesMolhadoRef is a refactoring-aware SCM tool that is capable of capturing andversioning of the semantics of Javaprogram entities and refactoringoperations that were performed onthose entities.
View 1 Replies