On TV.com: THE GIRLS NEXT DOOR photos
3 Resources for

typeof

  • Subscribe to this listing via:
  • RSS
  • Email

TechRepublic Resources

Use VB6's TypeOf keyword to work with controls
Are you looking for a way to make a change to all the controls of a certain type on a VB6 form? Then find out why you should take advantage of the TypeOf keyword for these types of development tasks. There may be times when you want to do...
Tags: Microsoft Visual Basic 6.0, Peter Aitken, Microsoft development tools, TypeOf, Visual Basic Tips Newsletter, TechRepublic Inc., Control, Programming Languages, Corporate Communications, Development Tools, Software Development, Software/Web Development, Marketing
Technical articles 2006-01-26
Use VB6's TypeOf keyword to work with controls
While working this is very very inneficientHello Peter,This is a very nice trick which you can use in many ways. But there a catch here, its works but it's slow.2 reasons behind this. 1st - You're accessing the ctl in late-binding. It is always slower and moreover...
Tags: iterator, myrdhrin, Object sngStart, optimization, programming, Select Case, TypeName, TypeOf, TypeOf operator, vb
Discussion threads 2006-01-27
DataSet in C# Running as Windows Service
My program has a Dataset that writes to a database when it receives information, it works fine. However, I want to convert the program into a Windows Service, which would mean the Dataset would have to be in the Service, and the Datagrid display GUI would have to be...
Tags: C#, Dataset, GUI, Log, Microsoft Windows, netsecsvc, programming, typeof
Q&A 2005-06-20

Additional Resources

Iterating through all controls on the form with VB.NET
VB.Net Version?I have little experience in the .Net languages, but I believe I've heard that the .Controls collection of a Container (Form, in this case) only lists the Controls directly contained by the Container. So, if one of those TextBoxes were under a Frame (I think they're called Panels in...
Tags: treymacksc@..., C.Font, ElseIf TypeOf C, windows, programming, Microsoft Visual Basic.Net
Discussion threads 2007-02-09
Sharing the event logic between controls in VB.NET
It can be convenientHowever, there are a couple of gotchas. If you mix control types, you better use a typeof clause to make sure that your operating on the correct control type. Also, don't mistake the order that the events are listed in the handles clause...
Tags: Microsoft development tools, .NET, alaniane@..., handles clause, Microsoft Visual Basic.Net
Discussion threads 2007-10-19
How do I... Enumerate windows groups in .NET Framework 1.1?
In the .NET Framework version 1.1 there is no easy way to enumerate which windows groups the current user is a member of. It is a mystery why Microsoft chose not to include this functionality -- some people say they ran out of time, others say it was simply overlooked....
Tags: Method, Microsoft .NET Framework, Window, WindowsIdentity, _GetRoles, Zach Smith
Blog posts 2007-09-12
how to save text box data to a new file,not in same file
i am trying to save my text boxes data to a new file through command button,but text boxes data is saved in the same file it saved last this is my codePublic Sub SaveTextBoxData(ByVal formSource As Form, ByVal fileName As String) 'This will save all data currently...
Tags: dilip_bagdi2005@...
Discussion threads 2007-07-21
Iterating through all controls on the form with VB.NET
Irina Medvinskaya presents a simple way to change all the controls on a form in runtime with VB.NET. If you've ever had to change all the controls on a form in runtime, you know how tedious it can be to modify the controls one by one. Here's...
Tags: Microsoft Visual Basic.Net, Irina Medvinskaya, Microsoft development tools, Programming languages, TextBox, cControl InMe.Controls, Visual Basic Tips Newsletter, Control, .Net, Development Tools, Software Development, Software/Web Development
Technical articles 2007-02-08
Firefox
HIS MESSAGE KEEP APPAIRING WHILE USING FIREFOX, PLEASE HELP:[+] [leaked object] (3040ca8, http://us.js2.yimg.com/us.js.yimg.com/lib/pim/r/medici/15_6/mail/compose.js, 487-487) = function DoUpdateFieldHeightevt { if (ComposeVals.ExpandoToCcBcc) { if (evt == null) { evt = window.event;...
Tags: Web browsers, ksandy, leaked object, Mozilla Firefox
Discussion threads 2007-03-14
Persist data with the XMLSerializer class
The System.Xml.Serialization namespace provides the basic functionality of persisting an object as XML. Take a look at how you can use this approach. Microsoft recognized the need to persist data by including serialization functionality in the .NET Framework with the System.Runtime.Serialization, which...
Tags: XMLSerializer, XML, Tony Patton, XML Serialization, serialization, namespace, XMLSerializer class, .NET Newsletter, Microsoft .NET Framework, Data, Class, Object, System.Xml.Serialization, System.Xml.Serialization Namespace, Deserialization, Persistence, Class Constructor, Software/Web Development, Web Development
Technical articles 2005-06-30
Persist data with the XMLSerializer class
Microsoft recognized the need to persist databy including serialization functionality in the .NET Framework withthe System.Runtime.Serialization, which provides the framework fordeveloping custom serialization solutions, and theSystem.Xml.Serialization namespaces. The System.Xml.Serializationnamespace provides the basic functionality of persisting an objectas XML. Let's take a closer look at using this approach. ...
Tags: serialization, XML, XMLSerializer, Tony Patton, namespace, XMLSerializer class, XML Serialization
Technical articles 2005-06-30
Tackle common programming problems with design patterns
Error in VB versionThere is an error in the VB version: the Count member variable is never updated. In the C# version, the "return(Count++);" statement has the side effect to increment the counter.And the variable is never initialised to zero - but as a non-VB programmer I don't know if...
Tags: DP, Singleton2 GetInstance, error, vb, pattern, singleton, frankbj, programming, Microsoft .NET, design pattern, new Singleton2
Discussion threads 2006-05-16
Implement XML serialization in the .NET Framework
This article is also available as a TechRepublic download, which includes an example application and sample code.Serializationis the act of saving an object to a storage medium or transforming the object sothat it may be sent across a network. After an object is serialized, you willwant to deserialize it which...
Tags: Microsoft .NET Framework, XML, XML Serialization, Zach Smith
Technical articles 2006-12-14
Applied Reflection: Creating a dynamic Web service to simplify code
This article is also available as a TechRepublic download, complete with sample code.Many developersare using Web services to communicate with their business logic, and there area lot of advantages to this. This approach allows a wide range of flexibilityin the architecture that would otherwise be very hard to come by....
Tags: Web services, Zach Smith, Web service, business logic, Web
Technical articles 2006-10-19
Interface inheritance in Visual Basic
No need to wait for .NET; Visual Basic already supports inheritance--sort of. This article explores the possibilities of exploiting VB's interface inheritance features and explains how it really is a mixed bag.In “Demystifying version compatibility settings in Visual Basic,” I defined an interface as the collection of public methods exported...
Tags: Microsoft development tools, Programming languages, Lamont Adams, Microsoft Visual Basic, EXE, cCustomer, cCustomer class
Technical articles 2001-03-19
Using IPC channels and .NET Framework 2.0 to communicate between processes
This article is also available as a TechRepublic download, which includes a sample solution in the form of a Visual Studio 2005 Project.Interprocesscommunication, or "IPC", allows one process to communicate withanother process that is running on the same computer. Since the calls don'thave to travel over the network, IPC calls...
Tags: IPC, IPC channel, IPC Client, Microsoft .NET Framework, sample solution, SharedObject, Software engineering/development, Windows IPC, Zach Smith
Technical articles 2006-12-12
Create reusable Web components for Mozilla
Learn how to create a custom, reusable component bound to custom behaviors through XBL. By using the techniques Phillip Perkins describes in this article, you can create custom components to use in Mozilla-based browsers. Reusable components are the foundation of modular design in programming. Mozilla provides component...
Tags: Web, Microsoft Internet Explorer, Mozilla Corp., XBL, Phillip Perkins, Channel management, Web browsers, Div, divMsg, Web Development Zone Newsletter, HTML, Definition, Definition Data, Mice, Marketing, Hardware, Peripherals, Internet
Technical articles 2005-08-10
How do I... Serialize a hash table in C# when the application requires it?
Unfortunately, the .NET Framework does not allow serialization of any object that implements the IDictionary interface. This restriction includes, but is not limited to, hash tables. Like many developers, I have run into this restriction head on and been disappointed about the inability for serialization on hash tables. ...
Tags: Table, Object, List, OrderedTable, NameValuePair, .Net, C#, Software Development, Software/Web Development, Programming Languages, Zach Smith
Blog posts 2007-10-01
Reduce runtime errors in .NET through unit testing
Microsoft's submission of the C# language andthe CLR Common Language Runtime as industry standards has led tomany open source projects based on the .NET platform. One suchnotable project is NUnit, a unit-testing framework for all .NETlanguages. I'll demonstrate the simplicity of using NUnit toeffectively unit test your code. ...
Tags: ExpectedException, Microsoft .NET, Nunit, TearDown, Tony Patton, Unit Testing
Technical articles 2005-07-25
Upon 'reflection,' C# attributes can simplify programming tasks
There are ways to simplify your C# programming. One of them is through a proper understanding and creative use of attributes. Learn how to define, attach, and retrieve a C# attribute by following our example.C# is a procedural programming language that also includes some declarative features.(I know it’s OO—I mean...
Tags: .NET, Programming languages, Paul Stephenson, programming, C#, FooAttribute, constructor
Technical articles 2001-08-30
  • << Previous
  • page 1 of 1
  • Next >>


Windows XP vs. Mac OS X
This presentation, entitled Standardizing on Windows XP Instead of MAC OS X, provides a pre-packaged option for defending Windows XP against MAC OS X. ...
Buy Now
Cisco IOS Command Chart (IOS v.12+)
Becoming proficient with Cisco equipment means remembering a whole new set of commands. These command charts give you a quick way to look up the needed IOS commands and switches when you need them.
Buy Now

Fusion