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

Software Development Network >> Mark B .'s Q&A profile

Mark B .

Member List

Amzi!
Fran Garcia
DavidIr
GS80
RubenPieters
Jon Stalnaker
hellomahesh
Byron_Black
Bala_SSRS
Gregory English
Prash1
drvsrs
Robbie Page
mteverest
MMMalik
cbpd86
Ross Watson
AlexBB
Jiajia
RobbPick
Only Title

Mark B .'s Q&A profile

  • .NET Development ResXWriter writing .Language property to "(Default)" instead of Invariant AND type=CultureInfo

    I am  working on reading and writing of .resx and .resources files and I have everything working correctly except that the .Language property. It begins as value = "(Default)"  and type = "System.Globalization.CultureInfo ...." I can write to it as either value = "Invariant ..." and type is same as above OR value = "(Default)" and type is null  Is there any way to set the value = "(Default)" and have the type = "System.Globalization.CultureInfo ...." I am currently getting an IEnumerator from a PropertyDescriptorCollection, and getting the PropertyDescriptor from that. Any help is greatly appreciated. Thanks in Advance! ...Show All

  • Visual Basic VBA object added in a form

    Hi to all, I've added a commandbutton to a form during its execution, but i'm not able to assign an execution code to it! i've tryed the help on line and haven't found anything usefull, may you help me This is the code i wrote: Dim CButton As Control Set CButton = frmDiametri_e_Spessori.Controls.Add("Forms.CommandButton.1") CButton.Left = X CButton.Top = Y CButton.Caption = "OK" Now i want to add some code to the CButton control Thanks Pierpaolo You can't reference ActiveX objects directly like this in a .NET application. At a minimum, you need to let the IDE create a COM callable wrapper by setting a COM reference to the VBA Forms component. Before we head down that perilous p ...Show All

  • Visual Studio Express Editions embedding .swf to vb.net forms

    can someone give me the codes needed to embed an swf file ( a flash animation for the banner) in a window form.. thanks.. im using the version 8, macromedia pro... thanks. in the toolbox, scroll down nearish the bottom, drag the control 'web browser' in. its just like a frame for wel... displaying web pages. if its not there right click the toolbox and add it (i think sum1 explined that above) ...Show All

  • SQL Server Dates in Reporting Services

    hey all set up Visual Studio 2005 SQL Server Express / Reporting Services four fields State date Start time Finish Date Finish Time I need to take one away from the other - can someone please help me Is it better to keep these in separate fields or to combine and subtract Is there anything special I need to know with subtracting time I am reasonably newbie still so would appreciate any help thanks I am using the visual side in Reporting services - Data - Layout - Preview. thanks Jewel thanks so I have combined my fields as you said. When I do the subtraction - New fields - Text=ClosedDate Text=RecvdDate =(ClosedDate) - (RecvdDate) I get error Close ...Show All

  • Windows Forms Why is there no CaptionText in the DataGridView Control?

    Hi Folks, this is a question to Mark Rideout (or anyone from MS): Why was the CaptionText property not migrated from the old DataGrid control to the new DataGridView control Is there a replacement or do we have to create a user control combining a DataGridView and a Label Thanks. We talked with some customers and got the impression that it isn't a needed feature as UI's were getting more graphical and more "office-like". We left it up to app developers to combine and style things as they saw fit for their app. -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All

  • .NET Development sharing of textfile (FileShare method not working)

    Hi guys, I'm working on application with multiple instances running in the same machine. In this application I'm accessing file "test.txt" and the other instances also needs this file. But the first application who will get to open the "test.txt" will have the write access and the other instances will only have read access. Below is my code snippet: if (singleInstance) {FileStream fs = File .Open( @"C:\test.txt" , FileMode .Open, FileAccess .ReadWrite, FileShare .Read);} else {FileStream fs = File .Open( @"C:\test.txt" , FileMode .Open, FileAccess .Read ) } When I tried running my application, I open the test.txt in the notepad and I can open it but can't do any mo ...Show All

  • Visual Basic How to open COM Port No. greater than 10

    Dear All How to open COM Port No. greater than 10 ex:com(0) = New System.IO.Ports.SerialPort("COM10") I can open COM Port 1~9 but I can't open greater than 10. How can I do ...Show All

  • Visual Studio Team System Unable to upgrade for Workstation to full TFS

    I installed the Workgroup version of TFS and we purchased the "full" license. I called in and received the Product Key. I entered the product key and say the command window open, stop IIS, restart IIS and closed. I am unable to add any users to the [server]\Team Foundation Licensed Users group. It keeps giving me this error "TF50626:Maximum Users(5) in License Group. Any help Are you a vlume licensing customer If so, Rob Caron 's post on upgrading may help you. To answer your concern, install/repair should not damage or alter the data in your system. However, it's still a very good idea to take a backup of your current information just in case something unexpected occurs during th ...Show All

  • SQL Server Launching SQL Server Management Studio

    Okay forgive my ignorance. I just installed the SQL Server Management Studio Express, now how the heck do I launch it :) hi, if you correctly installed it, you shoud find, in the Start->Programs->Microsoft SQL Server 2005 folder the SQL Server Management Studio entry.. regards ...Show All

  • Software Development for Windows Vista ConnectDirect() failing without calling CheckMediaType

    Greetings all. I'm just getting into DirectShow programming, so I apologize if this is a stupid question or anything, and I also apologize for my incessant wordiness. I'm trying to make a renderer filter. For my reference, I'm looking at the DX9 Texture Renderer sample. The sample was surprisingly buggy, but after fixing it up I got it to compile and render onto that lovely cylinder. After taking it apart to find out how I could implement something similar in my own program, I found that it worked by just adding the source filter to the graph, adding the custom renderer, and just calling Connect() on the pins, letting the Graph Builder stick in whatever filters it felt was necessary. This is not acceptable to me, because it seems it always ...Show All

  • Visual Studio Express Editions How to determine when IE page is fully loaded

    In a web page with frames the check wb.ReadyState < SHDocVw.tagREADYSTATE.READYSTATE_COMPLETE is not sufficient, because any frame can trigger it before the page been fully loaded. The following Microsoft article explains how to do it in pages with frames: http://support.microsoft.com/kb/q180366/ In particular, it seems to say that for Visual Basic the code required is simply: Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant) If (pDisp Is WebBrowser1.Object) Then Debug.Print "Web document is finished downloading" End If End Sub I have tried it and it does not seem to work. I do not understand the code: pDisp Is WebBrowser1.Object WebBros ...Show All

  • Smart Device Development Access Windows Mobile 2003SE phones contacts and Calendar

    Hi, I am quite newbie to windows mobile developing, and I was wondering if you could help me with this question. I'd like to create some sort of sync app, so it needs to access the phones calendar and contact database. I searched on MSDN about this topic, but I only found solutions for Windows Mobile 5, but I need this for 2003 SE. Could you help me about this thanks, Zoli POOM is just Pocket Outlook Object Model, there's no Windows Mobile 5.0 qualifier. So yes, it works on WM 2003 as well. ...Show All

  • Internet Explorer Development IE7 FTP Security Issue

    I have run into a security hole in my ftp site that has only now become a problem with IE7. The structure of my ftp directory involes several streaming media folders and a Client folder in the root directory. The contents of the client folder and its children are all password protected. Inside these folders I upload content for my clients to view approvals and allow them to upload files for my own use. The root directory has read-only permissions for everybody because of the streaming content I am hosting. In the past when a client logs into their ftp folder, the password protected nature of the client folder prevents them from moving up in the hierarchy outside of their folder. In IE7 however, I have found that a client can now leave he ...Show All

  • Software Development for Windows Vista How to get the present Activity the workflowInstance is in

    Assume I have a Seqential workflow defined A->B->C->D I processed the workflow till B and then closed the browser. When I reopen the browser my worklist shoud show this workflowInstance is to be processed from Activity C . how to get the info that C is the Active Activity I Can loop thru the activityEvents and get the Activity with Executing Status.Is there any otherway to avoid this looping use ActivityTrackingRecord find the activity status is executing. but in stateActivity it will error. ...Show All

  • Visual Studio Express Editions .cpp file and .h file relationship

    Okay..... I am a complete newbie to VC++ and especially express edition. I have a form1.h file where I have built my GUI. I have a .cpp file which does a load of cool stuff such as interface with a USB datalogger (rx and tx from a USB port basically). I want the code that runs (from my .cpp file on compilation) to affect the labels etc. on the code in the GUI. For example - I have a globally declared integer array (don't shout I know global declarations are bad) which is fed data from the USB interface code. Depending on the data in the array I want to modify the text of labels in my GUI.... How do I do this In C++ *.cpp and *.h files are really just a way to organize code - t ...Show All

©2008 Software Development Network