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

Software Development Network >> orent's Q&A profile

orent

Member List

airwalker2000
MathiasR
jackwc
danych
Matt Stum
DonBaechtel
Chris Medlock
tnsgod831
chris house
alasaaa
gjutras
george33387
jkv10
ImGivingUp
Yash Purohit
Nic-Gun
Julio Diaz
mr4100
Kerry_Dixon
stswordman
Only Title

orent's Q&A profile

  • Visual Studio Tools for Office Demand Loading of my Add-In

    Hi all, Is there any option to load an add-in to excel on demand. I do not want the add-in to be made visible always or only for specific document. I want this add-in to run only on one instance. Excel allows multiple instance to be open and as well open multiple instance of a document (in read only mode). Is there any way, I could call my addin as a command line parameter while opening Excel.EXE Hi I am sorry, in the previous message, i had mentioned using Excel.Exe /a. (to be corrected to Excel.Exe /automation) This is what I tried - Excel.Exe /automation C:\MyAddIn\MyAddIn\Bin\Debug\MyAddIn.dll. What happens now is as follows: Excel starts with the splash screen "Microsoft ...Show All

  • Visual Basic Setting autopostback on dynamic control RadioButtonList

    I am creating a series of radiobuttonlists to display on a web page. I have created a handler for the SelectedIndexChanged event, but it does not fire when I change the selection--perhaps because autopostback is defaulting to false ( ). How can I set the autopostback to true on a dynamically created radiobuttonlist Lapin_agile P.S. If this is not the best forum for this question, ,please let me know where to post this. In Page_Load: Dim rblx As New RadioButtonList With rblx .ID = "testrb" .CssClass = "quizansw" End With AddHandler rblx.SelectedIndexChanged, AddressOf rbQuizQuestion_SelectedIndexChanged pnl1.Controls.Add(rblx) Dim li As New ListItem With li . ...Show All

  • Visual Studio 2008 (Pre-release) Possible rendering bug when overwriting a Rectangle edge with a Line

    Hi all, Try the following code... <Grid Name="myGrid" ShowGridLines="False" > <Grid.ColumnDefinitions> <ColumnDefinition></ColumnDefinition> <ColumnDefinition></ColumnDefinition> <ColumnDefinition></ColumnDefinition> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition></RowDefinition> <RowDefinition></RowDefinition> <RowDefinition></RowDefinition> </Grid.RowDefinitions> <Rectangle Grid.Row="1" Grid.ColumnSpan="3" Stroke="Blue" StrokeThickness="2" RadiusX="20" RadiusY="20"/> <Line Grid.Row="1" Grid.Column="1" Stroke="white" X1="0" Y1="0" X2="25" Y2="0" StrokeThickness="2" Stretch="Fill" VerticalAlig ...Show All

  • Smart Device Development Compact Framework 2.0 sp1 and Visual Studio 2005

    On the compact framework blog it says that Visual Studio 2005 Patch is "in progress" . Is this still in progress or can I download it somewhere Do I need this patch in order to develop apps on CF2sp1 At this point I've uninstalled cf2 and then installed cf2sp1 but all my windows mobile 5 project types are gone. I'm redownloading the sdks so that I can reinstall them but I'm guessing this will wipe out cf2sp1 or will cause some other issues. Let me know how to get cf2sp1 working in vs2005. Thanks! -- Bryant It still in progress… For now uninstalling RTM/installing SP1 should work. You can repair WM 5.0 SDK if your WM 5.0 projects are gone (and they should not be as NETCF and SD ...Show All

  • Visual Studio Team System Doubt with my class library projects in SDM files

    Hi, I was designing my app, but I don't know how modeling in my sdm file a class library project should I I mean, I have a DB, a WebService and a Win App, but between the DB and WebService I have a class library project for example dataAccess. Another doubt is how should (or could), I modelmy project if I have my entire project in differents solutions, for example, In 1 solution I have my Webservice and my webclient in the other I have my winclient and in the other I have a windows service client. Thanks an advance, Roy I would recommend that you keep your existing solutions and project structure for general development work and then create a new solution that encompasses all of the projects that you can use for modeli ...Show All

  • Windows Forms Unselecting text when entering DataGridView cell

    When a user clicks on a DataGridView cell to enter edit mode, the contents of the cell is automatically selected (i.e. all the text in the cell is highlighted in blue). How can I stop this Is there a way to make it so that when they enter edit mode, the cursor is just placed into the cell without highlighting the text. Is there something I can do in the DataGridView.CellBeginEdit event, or am I looking in thw wrong place Set the DataGridView's EditMode property to EditOnEnter http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridview.editmode.aspx ...Show All

  • Visual Studio Team System Exception thrown when executing unit test

    I have VS2005 Team Edition. In my test, I am creating an instance of a class that I intend to test. When I execute, the 'new' statement throws an exception: Test method UnitTest2.UnitTest1.TestMethod2 threw exception: System.TypeInitializationException: The type initializer for '<Module>' threw an exception. ---> <CrtImplementationDetails>.ModuleLoadExceptionHandlerException: A nested exception occurred after the primary exception that caused the C++ module to fail to load. ---> System.Runtime.Serialization.SerializationException: Serialization error.. The assembly containing the class does have a reference to a C++/CLR (interop) project. When I modify the experiment to instantiate a class in the interop project, I ...Show All

  • Software Development for Windows Vista Different between Workflows

    whats the different between creating workflows for windows sharepoint services workflow and creating workflows for windows without sharepoint . thanks alot. Hi Omar_Jordan, Windows Workflow foundation provides various levels of extensibility; among which are a rehostable runtime engine and an activitiy component by which you can describe your business logic in the semantics you desire. Several Microsoft products have used this engine and written custom activities for their specific end users. SharePoint happens to be one of those Microsoft products. Specifically, Sharepoint is hosting the WF runtime engine in process and has written a variety of activites to help people perform document lifecycle related workflows. Hope ...Show All

  • Visual Studio 2008 (Pre-release) Accessing invidual objects for a xaml file parsed with XamlLoader.Load()

    I am trying to access objects created by parsing a .xaml file, using XamlLoader.Load(). For example if my .xaml file contains rectangles I'd like to be able to access them and modify a parameter, like their color. Is there a way to obtain a tree-structure of the objects created during the parsing Stream s = File.OpenRead("test.xaml"); Canvas newCanvas = (Canvas)XamlReader.Load(s); s.Close(); foreach(Rectangle r in newCanvas.Children) { r.Color= Blue; } ...Show All

  • .NET Development Sharing a common data set schema for multiple web services

    Hi, I have a solution with multiple web services that share the same typed dataset. Each time I add a reference to a web service to a client application it creates a new web refrence class that includes an imported version of the XSD for the typed dataset. Each web service reference then has its own typed data set class . Even though the dataset is the same each web service reference refers to it via a different namespace. How do I get the web service refrences to share a common reference to the data set schema so that they all use the same type -- David Worthington .Net Framework V2.0 added a functionality to solve this problem. wsdl.exe tool has new switch (/shareTypes) allowing for type sharing betwee ...Show All

  • Visual Studio Express Editions Cant get started

    I am at a loss here so if anyone can help... I downloaded the start kit for visual express (community clubs) and tweaked it a bit in terms of the visual. It runs fine on my computer but when I tried to upload it to the server, and type the web address, it comes back with the message below: The website address is www.capebuccaneers.qsh.eu Freehosting: capebuccaneers.qsh.eu, www.capebuccaneers.qsh.eu Ftp Server: capebuccaneers.qsh.eu Ftp Username: capebuccaneers.qsh.eu Ftp Password: x2YJz43B Can anyone help me to get this thing running. The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. MartinSwan, I tried to ...Show All

  • Smart Device Development Help!!!!Who know about the memory limit problem On Windows Mobile 5.0

    We developed a application on windows mobile 5.0.One of it's features is to play audio files. We did it by hosting Window Media Player Control in our project.By default, WMP control only suppurt wma and mp3 audio formats on WM5.0.When playing other formats (like aac,3gp,mp4,amr,midi and so on),the WMP control will load neccessary dll which provided by Hardware Vender . The problem is that,after building,the size of exe file is about 6M,and in the application,we will allocate a 5M big heap for application using.When playing the audio files such as aac,amr,It seems that load dlls will not succeed.I try to load libraries by LoadLibrary(...) before playing audio files.It failed.Get the errno by GetLastError(...),ERROR_OUTOFMEMORY returned. It ...Show All

  • Visual Studio Express Editions Starcraft As Resource?

    Hello My Purpose: Make a login for starcraft to limit my brother's time playing starcraft What I already know I can put 'starcraft.exe' as a resource Call 'starcraft.exe' from resource to run it What I need to know Can I call starcraft.exe to run it as if the file was just there without being a resource What I want to do Make a login program and handtype (in cleartext) in the code such as If userID.text = "ID" Then 'call starcraft.exe from resource' End if and the starcraft.exe only launches if the user enters the right password and user combo The reason that I want to put 'starcraft.exe' into resource is because even my 11-year old brother knows how to get into the Programs File then just manually launch 'starc ...Show All

  • SQL Server Performance of a Queue vs Table

    I know we are not allowed to benchmark SQL Server but..... It would be nice to have material to present which demonstrates the performance gains using a queue compared to insert/delete in a SQL table. Logically it seems faster to use a queue due to the conversation grouping locking and the service broker itself. But there seems to be some overhead involved just to manage these queues that the service broker has to perform. I am sure we are not unique with the choice to figure out if we will get a boost in performance using SQL a queue between services rather than a table to queue data. What is available to help understand the performance gains of using a queue I have been doing some testing wit ...Show All

  • .NET Development Socket Connection - Wrong address is returned

    Hi, I'm using socket connection to connect pocket pc (client) and my computer (server). When I run the program on the emulator, I'm able to establish a connection. At the server, I print the remotePoint from which the connection was accepted. I always get the unassigned IPAddress "127.0.0.1" printed. I have been trying to figure it out myself, but in vain..Can anyone please tell me why this happens Thank you so much. /******Server******/ IPEndPoint myEndPoint = new IPEndPoint ( IPAddress .Any, 5155); Socket mySocket = new Socket ( myEndPoint.AddressFamily , SocketType .Stream, ProtocolType .Tcp); mySocket.Bind(myEndPoint); mySocket.Listen( int .MaxValue); Console .WriteLine( "S ...Show All

©2008 Software Development Network