Software Development Network Logo
  • Smart Devicet
  • IE Development
  • Windows Forms
  • Visual FoxPro
  • Visual Studio
  • Audio and Video
  • SharePoint Products
  • Visual C#
  • Game Technologies
  • Visual C++
  • SQL Server
  • VS Team System
  • .NET Development
  • Windows Vista
  • Visual Basic

Software Development Network >> Matt Lin's Q&A profile

Matt Lin

Member List

DavidThi808
a9192shark
DiZASTiX
RNC76
FabMark
MuraliMohan
FAp
Mohamed Hussein Kotat
Dany V
Simon Gittins
Wojtek
ArcPadNewbie
nsam
Raulsassaa
Douglas R
Alexey Kuk
Ariel S
cbpd86
noel 55
Javahar
Only Title

Matt Lin's Q&A profile

  • Visual Basic Deployment without .NET

    Hi there, I'm new to the forum and new to Visual Basic so please forgive my ignorance! I just downloaded Visual Basic Express for free, and made my hello world program. I burned a CD with the results of the publish command, and installed the program on my other machine. My installation package was less than 1 Megabyte, but it forced me to download .NET 2.0 which took about half an hour to download and install! Now I understand how .NET is great and all that, but I think it will seriously annoy my website users if they download a tiny little program from my website but then find they have to spend 30 minutes updating their system for the honour of messing around with my trivial program! Firefox is a complex browser and that installs in less ...Show All

  • Visual Basic RaiseEvent Statement not notifiying event handlers when called from within New Sub

    Hello - The following issue involves code from MSDN which does not work properly. I have tried the code in VS 2005 SP1 and VS 2003. Here is the msdn link. http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbls7/html/vblrfVBSpec8_6_1.asp The problem is that the Constructed Event Handler does not fire when RaiseEvent Constructed is called from the Raiser Class's Sub New (See Following Code): Imports System Class Raiser Public Event Constructed(ByVal Count As Integer) Public Sub New() Static CreationCount As Integer = 0 CreationCount += 1 RaiseEvent Constructed(CreationCount) End Sub End Class Module Test Private WithEvents x As Raiser Private Sub Constructed(ByVal Count As Integer) Handles x.Co ...Show All

  • Visual Studio Express Editions ClickOnce deployment - read-only file attribute

    Hi there! Would anyone know how to preserve read-only attribute for one of the application files using ClickOnce deployment (Visual Basic 2005 Express Edition), instead of manually changing it on client's PC after installation Your help would be greatly appreciated. Krzysztof Well, you could have your form1 load event use something like: This example uses the SetAttr function to set attributes for a file. ' Set hidden attribute. SetAttr("TESTFILE", vbHidden) ' Set hidden and read-only attributes. SetAttr("TESTFILE", vbHidden Or vbReadOnly) ...Show All

  • SQL Server Defining a named set

    I have built a cube and I want to add a named set. Following dimensions are important: suscriber and handset. The set I want to create should contain only those subscribers for which the handset is different from the handset from the month before. I tried to use the filter function resulting in the following: filter ([Dim Subscriber].[Subscriber].[Subscriber]. members ,([Time].[Month],[Dim Handset].[Dim Handset].[Dim Handset])<>([Time].[Month]. prevmember ,[Dim Handset].[Dim Handset].[Dim Handset])) But deploying the cube returns the error message that "<>" cannot be used with sets... Can anybody help me Thanks in advance... Regards Joos But then I have to define a ...Show All

  • Windows Forms When I open win form app project via VS.NET, controls will be bigger...

    Hi, When I open win form app via Vs.Net, I found the main form larger and all controls that it contains will be bigger and gone to other positions. I have very little experience with win form app development and I could not even understand the problem. Thank you I am now certain about my problem. When I change size of some of controls, resx will change. Change occurs not only to deliberately changed control, but some of other controls will change their sizes and positions too. This is the problem. I create a windows user control, make items have fixed positions and then I add it to windows form. I set the uc's size in parent form as same as its orginal size. But I could not see the all child cont ...Show All

  • Smart Device Development Installing activex control on to mobile device

    Hi, I'm trying to install and register a ActiveX control written in C# for CF 2.0. I created a smart device cab project and added the primary output of the ActiveX control project to the setup. I then copy the files (.cab, .inf) to the device and ran them but I still recieve Automation errors when trying to create this object in PIE using JScript. Any help would be appreciated. Thanks. Perhaps it would be better to consume it on a server I mean, it may be fine to run some script which handles menus in browser based application, but consuming WS might be a bit too much. ...Show All

  • Windows Forms Toolstrip and treeview

    hi, I want to know whether a toolstrip control will support a treeview control. I have a treeview generated at runtime. Hi,agdurga If you mean to add a TreeView into the toolstrip, make your own toolstripitem inherited from ToolStripControlHost: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Collections;   namespace Samples {     public partial class General : Form     {         public General()         { ...Show All

  • SQL Server Database 'model' corrupted

    Hi, my 'model' database corrupted and my SQL Server 2005 Express can't be started. I believe I have the SAME problem as his: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=455524&SiteID=1 but when I try the command start sqlservr.exe -c -T3608, an error message appeared: "Your SQL Server installation is either corrupt of has been tampered with (Error getting instance ID from name). Please uninstal then re-run setup to correct this problem" Well, the problem is that I have an ActiveBPEL database inside, and I really need a way without reinstalling it. Any solution Thanks, Edwin The difference is that your Express installation is not a default insta ...Show All

  • Visual Studio 2008 (Pre-release) WCF X.509 CAs?

    Can anyone point me to CA's of certificates suitable for WCF encryption and what do I ask for I understand that the standard SSL certs do not work and the sales reps are not knowledgeable about WCF requirements. Thanks John You can create certs using the makecert tool. The SDK has a lot of samples that have scripts that create these certs for you and install them into the correct store. Try looking at http://msdn2.microsoft.com/en-us/library/ms751503.aspx ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Change Brightness

    How do I modify the Brightness of the entire screen in an exclusive fullscreen DirectX7 application using DirectDraw I am aware that the Brightness and Gamma controls may not be available on all video cards. If this is the case, how do I write some code that modifies the brightness of the Back Buffer Surface (ddsb), regardless of the video card DirectX 7 is an ancient relic by technology standards - dont be surprised if you find it hard to get advice/information/examples anymore. I would recommend using a gamma ramp - its not universally supported (but you could write a fallback DMA method for drivers that dont). I wrote some example code in VB6 over 6 years ago - available here . Modifying brightness (or implementing a custom gamma ...Show All

  • SQL Server DateTime Format Conversion Issue

    Hello everyone, I came accross this problem where I can't change my stored date to: m/d/yyyy hh:mi:ss AM Seems to me like there is no code related to that particular conversion. I'm just assuming that because I've tried all the codes supplied with the convert, and the closest that I got was select CONVERT ( nvarchar ( max ), getdate (), 22 ) 02/27/07 12:24:40 PM m/d/yy hh:mi:ss AM So can any one give me a quick solution for this I'd appreciate it How about select CONVERT ( nvarchar ( max ), getdate (), 101 ) + substring ( CONVERT ( nvarchar ( max ), getdate (), 22 ), 9 , 50 ) Dan ...Show All

  • Visual Basic Pressing button on a web page form?

    How would I press a button on a web page form that is on the browser that is in my app. Wear is a good place to start learning about interacting with web pages that are in my app. Hi I have one more question. Suppose I have a seclection box, how do I programmatically choose one of the options thanks ...Show All

  • Software Development for Windows Vista Where are data activities???

    Hi,   I am using the latest version of wf, but I couldn't find the data activities ( WaitForData , WaitForQuery , UpdateData , and SelectData ).  I want to integrate InfoPath 2003 with windows workflow foundation by using data activities. I want the user to design his own form then  consume the form's data in workflow as schema file (xsd) How can I use the functionality of those activities for this version Those Activities were removed I think by beta 2. They were kind of built on top of the HandleExternalEvent and CallExternalMethod activities - so you can use those for the same functionality. ...Show All

  • Visual Studio Express Editions Null Reference Exception

    For some reason i keep getting this "Null reference exception was unhandled - object reference not set to an instance of an object" Does anyone what this or what is could be causing it. I'm using arrays to store stuff which then makes an instance of a panel. I have 4 of these, they are all identical and use the same panel, but one of them refuses to work and I get this message, I've checked it over and can't seem to see anything different between that 1 and the other 3. At first, second and third glances nothing jumps out at me as being the obvious cause of the exception you are seeing... so like SJWhiteley I’m forced to wonder and ask where abouts the exception is happening. Any chance that ...Show All

  • Windows Forms Binding comboboxes to related tables !

    Dear friends... There are 3 tables in my database which 2 of them are related as parent and child. And here are the columns: Parent Table: ParentCode int(PK), ParentName nvarchar(256) Child Table: ChildCode int(PK), ChildName nvarchar(256), ParentCode int(FK) 3rd Table(MyTable): SerialNumber int(PK), Name nvarchar(256), Parent int, Child int These 3 tables are loaded into a dataset with the specified relation named 'ParentChild'.I want to store SelectedValue of comboboxes into the 'MyTable'. Two comboboxes are placed on my form with following bindings: comboBoxParent.DataSource = dataSet; comboBoxParent.DisplayMember = "Parent.ParentName"; comboBoxParent.ValueMember = "Parent.ParentCode"; comboBoxParent.DataBin ...Show All

©2008 Software Development Network