Getting Rid Of The "box" Displayed Around Collapsed Code Segments?

Mar 7, 2010

Is there any way of getting rid of the "box" displayed around collapsed code segments?

eg:

Is there a setting in fonts & colors for that? Can't seem to find it.

View 2 Replies


ADVERTISEMENT

Create Sections Of Code Which Can Be Collapsed And Expanded Like A Normal Public Or Private Sub?

Mar 8, 2011

I have been told before that it is possible to create sections of code which can be collapsed and expanded like a normal Public or Private Sub, but containing multiple Public Subs So say I have code for a variety of textboxes I wanted to be able to collapse, how would I do this?

View 3 Replies

Getting Time Segments Of A Timeline?

Mar 30, 2012

I'm creating a timeline (Availability report) report of appointments in my system. It could show multiple user as this pic shows. I have setup my report to look like:for Each 1/4 time segment there is a related db field. In the report I set the color of the time segments based on these db fields. My Issue is that I need to determine which time segments need to be set, based on a start and end times. This calculation will only be working with one days worth of time (6am-9pm). I've currently setup a array of Boolean values to represent each time segment. I pass that array to the "add to db function".

My problem is figuring out what is the best way to do this calculation. For example, If I have an appointment starting at 9:15am and ends at 10:30am. I'd need to set the following segments

9:15, 9:30, 9:45, 10, 10:15 and 10:30

View 8 Replies

How To Download A File In Segments

May 13, 2012

a file could be downloaded in more than one segment like what IDM software does.of course it causes to speed up in downloading a file ,and now I've search for a vb.net code to download a file for example in 4 segments.and then trying to simulate a complete Downloader Application like this sample

View 1 Replies

JQuery - PlaceHolder Segments Of IDs

Apr 8, 2011

I have a particular link that I'm trying to convert to an ASP:LinkButton place holder so that I can control it's visibility based on the user type:
<asp:LinkButton id="linkColumnsSelect" runat="server" Text="Select CSV Columns for Export" Href="javascript: void(0)" Visible="True" />

I was able to remove the PostBackUrl by adding "javascript: void(0)" to the Href property, but now I have the problem of getting a real ID that I can use in javascript. As it currently stands, this creates an ID for the item of ctl00_ContentPlaceHolder1_linkColumnsSelect, however I need that ID to be "linkColumnsSelect" on the client side and still work server side (for jQuery coding reasons that involve looping). Is that possible? Or do I just need to adjust my jQuery to account for the placeholder segments of IDs?

View 1 Replies

Separate String Into Segments, Act On Last And Next To Last?

Jun 30, 2010

Given a string "C:dir1dir2dir3...dirn-1dirn"

How can I peel off the last 2 segments

dim str() as string
str()= "C:dir1dir2dir3...dirn-1dirn".split("")
doesn't seem to do it.

I get "Strict won't allow conversoin from character to string" or some such and no clue as to what I should be doing.Seems like there out to be some 'find() w/o having to loop thru each characater inte string, counting and saving the locations of "".I only want to work w dirn-1 and dirn.

View 5 Replies

Get The Width/Height Of A Collapsed Control In WPF?

Apr 18, 2011

im wondering if theres an easy way to get the width of a control in WPF at runtime while the control is collapsed.when i use control.Width ill get the following result: -1.#INDand control.actualWidth will return 0.0 because its collapsed.

View 3 Replies

VS 2008 : TCP Message Read In Segments?

Dec 6, 2010

I'm sending TCP messages (numeric and/or text data) of various length; Approx: Each 200ms a <50 character message, and rarely a 50,000-500,000 character message. I'm trying to find a way to handle these variable length messages, and been advised to have a fixed field at the start of each message that gives the length. So I set a 7-character string that will hold this integer value. A message may then look like this:

0000015DATA|490

Now, I'm still a bit unsure how to finalize this. In any case I guess I need to set an initial buffer size, which in example below is set to 1024. So what if the message is longer than this? Would I need to save the current message parts until the full length has bee received, and keep track of how many characters is left etc? I made an attempt of that in code below. It doesn't give correct result yet, but still;

Const READ_BUFFER_SIZE As Integer = 1024 ' Amount of bytes to read in each chunk (?)
Private readBuffer(READ_BUFFER_SIZE) As Byte
Private _serverIp As Net.IPAddress

[code]....

View 7 Replies

TreeNode Always Expanded - Preventing Nodes From Being Collapsed?

Mar 10, 2009

I'd like my TreeView's nodes to always be expanded. Is there an elegant way of preventing nodes from being collapsed?

View 4 Replies

Does Microsoft Provide The Up/Down Chevron Buttons Displayed Below, Either Through Code Or The Actual Images

Nov 20, 2011

Does Microsoft provide the Up/Down Chevron Buttons displayed below, either through code or the actual images?

View 2 Replies

Splitting String And Assigning Split Segments To Variables?

Nov 29, 2010

I hjave the following text read from a txt file but would like to assingn each of the three numbers to induvidual variables how can i achive this?

(234.134, 105.087, 0.000000)EDDIT:

[Code]...

only now the product of XVAL and ZVAL is displayed as 0.123 8.910 and not 0.123 + 8.910 = 9.033 the 9.033 which is what im after

View 2 Replies

Error: No Symbols Are Loaded For Any Call Stack Frame. The Source Code Cannot Be Displayed

Jul 21, 2011

I have just a form in my VB.Net project and even when I try debugging that - there is nothing going on besides the form being loaded - I get the error: No symbols are loaded for any call stack frame. The source code cannot be displayed.

View 3 Replies

IDE :: Make The Collapsible Markers(-) Or (+) For Collapsed Sections/regions Larger?

Mar 10, 2011

it is possible to make the collapsible markers(-) or (+) for collapsed sections/regions larger.VS 2010 Pro.

View 7 Replies

Put A Title On Collapsed Outlining In Visual Basic Express 2010

Jul 4, 2010

When I select an area of text in Visual Basic Express 2010 and then go click Edit/Outlining/Hide Selection; the area collapses and is represented by three dots like "...". Is there a way to put my own title, description or label on it for better meaning and communication?

View 1 Replies

Set The Displayed Item Of Acombobox To The Value Displayed In A Label?

Oct 8, 2009

When a user clicks the + button on the binding navigator, I want to set the displayed item of acombobox to the value displayed in a label. The combobox is bound to a field in the table. Theproblemis that when the user clicks to add a new record the combobox is cleared and they forget to select a value before they click save.

View 7 Replies

Zip Code Is Dropping Leading Zero When Displayed On Excel. Export To Excel From XML To XSLT Transform?

Aug 16, 2010

I am exporting data from vb.net to excel and it is dropping the leading zero when its displayed on excel. How can I avoid the dropping of leading zero? I read the solution of adding a single quote but it makes my excel sheet column ugly. Also users will complain if they see a single quote on zip code field.vb.net code

Response.AddHeader("content-disposition", attachment)
Response.ContentType = "application/vnd.ms-excel"
Response.Charset = ""

the stored procedure outputs XML and it is transformed by XSLT before it is displayed on EXCEL

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<HTML>

[code]....

adding a single quote or manipulating excel sheet with column formatter (general/numbers ) etc. I don't want user to make any changes on excel to get the display properly when the excel is displayed from web page it should be all set with proper formatting. also we have no control over client excel software?

View 4 Replies

Find The Number Of Expanded / Collapsed Master Rows And Grouped Rows In A DevExpress GridView?

Jan 18, 2012

I am currently using DevExpress 10.2 within Visual Studio 2010. In a previous question I was trying to print the current user view of a DevExpress GridControl with the user's choice of expanded or collapsed master rows and/or group sections. I was told this was not possible at this time. I have now decided to use the following code:

[Code]...

View 1 Replies

RTF String Displayed In PDF?

Jun 11, 2011

I am developing windows application in that i am generating PDF report using iTextsharp. Problem is that how to display rtf data in pdf.

View 3 Replies

Wpf - Datagrid - No Row Is Displayed

Aug 13, 2011

I have a main window with a datagrid in the upper half and a tabcontrol in the lower half. The datagrid contains a list of companies. One of the tabs of the lower tabcontrol contains the information about contact persons corresponding to the company selected in the upper datagrid.

On the tab I place a usercontrol.

<TabItem Name="pgContactsXCompany">
<local:ContactsXCompany x:Name="contactsXCompany"/>
</TabItem>

[Code]....

When I run the application everything works without errors. The Sap number of the selected company is passed to the function UpdateContactsXCompanyDatagrid correctly. The Me.dgContactsXCompanyList.DataContext seems to be assigned, but the contact persons' datagrid is EMPTY. No row is diplayed.

View 1 Replies

.net - Control When A ContextMenuStrip Is Displayed?

Apr 9, 2010

In vb.net (2008), I want to be able to control when a contextMenuStrip (context menu) is displayed. I don't want it to always appear when the right mouse button is clicked...only when certain criteria within my program are met. I figure I would use addHandler but I'm not exactly clear on how to completely control the opening of the contextMenuStrip. I know I would issue a call to the "open" method to render the contextMenuStrip. However, I am unclear as to how to completely take over control of when to render the contextMenuStrip.

View 1 Replies

.net - TreeView Nodes Not Being Displayed

May 13, 2011

Following is the code for TreeView in XAML:

[Code]...

I am able to get the pnode added to the TreeView and all the node breakpoints are hit. The problem is that in the TreeView, I am only able to see the parent view arrow, the rest of the name, image, etc. are not getting displayed. It is like this: How can I fix this?

View 2 Replies

Activex Controls Cannot Be Displayed Because Either?

May 20, 2012

I have created a created a webbrowser on a form and pointed it to [URL]..when i use the web form to change a verb, part way through navigation i get an the error:

Title Windows Internet Explorer body one or more activex controls cannot be displayed because either:

1) Your current security settings prohibit running activeX controls on this page or,

2) You have blocked a publisher of one of the controls

As a result the page might not display properly.

View 1 Replies

Add Data To A Datagridview That's Not Displayed?

Dec 15, 2011

I'm writing a program for my job in which we are keeping track of employees usage of food at work. The form in question interacts with an access database to a binded control with labels and textboxes. This form I'm working on is the user view which doesn't allow them to input their username, I have the user name saved to a variable but it will not display when I the add a new record. I tried many things but I'm just getting frustrated.

Is there away to add data to a row that is not displayed on the screen in a textbox for the user to see? There are 3 different "cells" (textboxes) I want to be filled in by other code without the users knowledge.

I'm currently using MSAccess 2010 and Visual Studio.net 2010

View 11 Replies

C# - Content Is Displayed By A While Loop?

May 20, 2009

I have a Label, whose content is displayed by a while loop.when i display a text in label, it displays correctly. sometime minutes, the same text displayed in the same label, and the size of the text in the control changes.

Here is the code :

//Form_Load :
Thread t = new Thread(displaySentences);
t.Start();
//display sentences:
void displaySentences()

[Code]...

View 2 Replies

Clone What Is Displayed On One Panel To Another

Apr 20, 2010

I have a panel that is "drawn" on by passing: panel.CreateGraphics.GetHdc() into an api call

I was wondering how i can then clone what is now on that panel to another - i have tried: panel.DrawToBitmap and then painting the resulting image on the other panel - but this doesn't work

oh and also the panels may not be the same size ... so in this case the result would need to be "stretched" or "shrunk"

View 3 Replies

CMD Status Displayed In Textbox

May 9, 2012

i'm just new in VB 2010, but i want something like this:A CMD status ( what it displays) be shown in a textbox1 or richtextbox1, also a input like a textbox2.just like to make your own CMD.So what i have in mind for the form needs to have:1 Textbox/Richtextbox (for display the CMD status)1 Textbox (for input, example: dir (Shows the dir list))1 Button (To send the input to the cmd)

View 14 Replies

Data Is Not Getting Displayed In Grid?

May 4, 2012

the following data is not getting displayed in grid.....am using vb6.0

[Code]....

View 3 Replies

Datagridview Displayed FirstDisplayedScrollingColumnIndex?

Aug 14, 2009

I have a datagridview with 3 displayed columns and 10 columns overall. If I run the program the gridview start with the first column visible and displayed. Now i want to scroll with the vertical scroll bar.

If i click on the "right" button of the scroll bar
my DataGridView1.Scroll - event
says:
DataGridView1.Columns(0).Displayed=True
DataGridView1.FirstDisplayedScrollingColumnIndex = 1

So this means "yes, the first Column is displayed but the first displayed Column is the second one!"

This doesn't make sense to me. Is there another opionion to this Problem, or is this just a small bug?

I use Visual Studio 2008 Pro (Visual Basic) with .NET Framework 3.5.

[Code]...

View 1 Replies

DataGridView Is Displayed With Four Columns?

Jul 18, 2010

I am workinng on an aopplication using the DataGridView.My intent is that the DataGridView is displayed with four columns, the user clicks on a row in any column and the complete record for the selected item is displayed and the DataGridViewis no longer in view.

The code to do this is in the event "dgvCollections_CellContentClick" and the function works exactly as I want it to.The problem is that when I want to sort by a specific column I click on the column header and not only does it sort , it calls the 'CellContentClick' event and the details form is displayed, which I do not want to happen.Is there a way around this problem other then using the "dgvCollections_CellContentDoubleClick" event to select the detail? This was what I did as I sterted this project and I found that the double click was very sensitive and often did not work. The single click is much better for the eventual user.

View 1 Replies

Displayed In The Project Properties?

Jul 31, 2009

I have been searching all over to find some code that will get the Project/Application's GUID. I can see it displayed in the Project Properties and I want to display it on the About Me page as well as use it to check for updates. So how do I get it via code?

View 14 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved