Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 19 of 19
Search took 0.01 seconds.
Search: Posts Made By: dkr72
Forum: Excel VBA January 19th, 2005, 09:55 AM
Replies: 0
Views: 1,578
Posted By dkr72
FindControl

I've created my own menu which utilizes menu items from the existing Worksheet menu bar in Excel.

ie CommandBars("Worksheet Menu Bar").FindControl(ID:=30007).Copy

I need to hide some submenu...
Forum: Excel VBA January 18th, 2005, 08:18 AM
Replies: 1
Views: 1,676
Posted By dkr72
Beginner Question

Can someone explain to me why sometimes coders choose to use "Sub" instead of "Private Sub" or "Public Sub" and what is the difference?

Thanks!
Forum: Excel VBA December 21st, 2004, 12:35 PM
Replies: 1
Views: 2,689
Posted By dkr72
Dim NextRow as Long NextRow =...

Dim NextRow as Long

NextRow = Worksheets("Sheet1").Range("A65536").End(xlUp).Row + 1
Worksheets("Sheet1").Cells(NextRow, 1) = yourData
Forum: Excel VBA December 21st, 2004, 11:38 AM
Replies: 1
Views: 9,512
Posted By dkr72
Word VBA - Text Form Field

Hi guys,

My Excel workbook currently opens a Word document and passes various data from Excel to text form fields in Word.

Does anyone know how I can dynamically create these text form fields...
Forum: Excel VBA December 10th, 2004, 03:31 PM
Replies: 1
Views: 1,606
Posted By dkr72
Locked Cells

How can you lock cells programmatically? Is this possible?
Forum: C# December 9th, 2004, 10:22 AM
Replies: 1
Views: 729
Posted By dkr72
CheckBox

I have created a checkbox dynamically. It's local.

chkNew.CheckedChanged += new System.EventHandler(chk_CheckedChanged);


in my chk_CheckChanged function I want to find it's checkstate...
...
Forum: C# December 8th, 2004, 06:23 PM
Replies: 3
Views: 1,682
Posted By dkr72
Thanks Kep. (And thanks Chris) You just...

Thanks Kep. (And thanks Chris)

You just answered my other question!

Dkr72
Forum: C# December 8th, 2004, 05:10 PM
Replies: 3
Views: 1,682
Posted By dkr72
Click Event

I'm building a button on a form dynamically...

Button btnNew = new Button();
btnNew.Name = "button" + x;
.Controls.Add(btnNew);

How can I capture the click event now that the button is built?...
Forum: C# December 3rd, 2004, 02:15 PM
Replies: 1
Views: 1,733
Posted By dkr72
Tabs

Is there an easy way to add a tab space in C# code? I want to do something like this:

string x = myString + (Tab Space) + myString2;
Forum: Excel VBA December 1st, 2004, 02:26 PM
Replies: 1
Views: 6,148
Posted By dkr72
bring to front

How can I programmatically bring an object to the front, so that it is on top of all other objects?

Thanks.
Forum: Excel VBA November 29th, 2004, 10:41 AM
Replies: 1
Views: 1,714
Posted By dkr72
Put this in a module and tie it to form button: ...

Put this in a module and tie it to form button:

Sub Whatever()
Dim wbSource As Workbook
Set wbSource = ThisWorkbook
wbSource.SaveAs (ActiveWorkbook.Path & "\yourfilename.xls")
End Sub
Forum: Excel VBA November 29th, 2004, 09:39 AM
Replies: 1
Views: 2,635
Posted By dkr72
TabStrip Part II

I have a dynamically created TabStrip. I know in order to reference dynamically created objects, I need to reference them like this:

myForm!Label1

But I'm not sure how to capture the click...
Forum: Excel VBA November 20th, 2004, 11:08 AM
Replies: 9
Views: 3,200
Posted By dkr72
Thanks for all your input Birger! The reason I'm...

Thanks for all your input Birger! The reason I'm stuck with the tabstrip is because I need to use the multirow property, which the multipage object does not have. But I do appreciate your feedback.
Forum: Excel VBA November 19th, 2004, 05:15 PM
Replies: 9
Views: 3,200
Posted By dkr72
More questions... How can I tie a control...

More questions...

How can I tie a control such as the tabstrip or a label to a container such as a frame?
Forum: Excel VBA November 19th, 2004, 01:38 PM
Replies: 9
Views: 3,200
Posted By dkr72
Thanks Birger! I was doing something...

Thanks Birger!

I was doing something silly... on form_click instead of form_activate

[:I]
Forum: Excel VBA November 19th, 2004, 01:35 PM
Replies: 9
Views: 3,200
Posted By dkr72
I tried that before and no luck, that's why I'm...

I tried that before and no luck, that's why I'm confused!
Forum: Excel VBA November 19th, 2004, 11:33 AM
Replies: 9
Views: 3,200
Posted By dkr72
TabStrip

I am dynamically creating a tabstrip

ie

Set myTab = Me.Controls.Add("Forms.TabStrip.1", "TabStrip1", true)
With myTab
.Left = 6
.Top = 6
.Width = 654
.Height = 444
Forum: ASP.NET 1.1 November 18th, 2004, 05:49 PM
Replies: 3
Views: 1,548
Posted By dkr72
Is there a way to pass a variable to a...

Is there a way to pass a variable to a client-side function with the on-click event?

ie Right now I have the following:
Button1.Attributes.Add("OnClick", "myFunction()");

If I want to pass a...
Forum: VBScript November 9th, 2004, 12:07 PM
Replies: 0
Views: 954
Posted By dkr72
Treeview

How can I identify ID of a selected node using vbscript. I can get all values with the following code, but I only want the ID of the node I am clicking on:

<SCRIPT language="vbscript">

sub...
Showing results 1 to 19 of 19

 


All times are GMT -4. The time now is 01:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.