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

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

ClaudiaHelpOnVSTO

Member List

LiamD
Vonny232
Yodatg
tomerlev
benschi
xkx32
iker
clue
mertkan65
hanafy
Constantijn Enders
PoloNet
jheddings
NoEgo
Duckocide
ADG
Jon Stroh
LynnOoi
esb
Jim Altrichter
Only Title

ClaudiaHelpOnVSTO's Q&A profile

  • Visual Basic Calling forms/content across projects in multi project solution vb2005ee

    I built the whole project as seperate project files. Now i have to call forms from the menu of a master project form. HELP! regs, ehmer Hi, Take each EXE file out of each PROJECT's BIN folder and call them from your menu as follows.>> Just remember to put the full path to each file in each MENU Sub. Or you could just put the FULL PATH string in for each PROJECT's executable ( exe ) file. Private Sub MenuItem1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem1.Click Process.Start("C:\Graphics-Demo.exe") End Sub   You may wish to put a copy of each EXE file in one common folder like into your MASTER project's fo ...Show All

  • Visual Studio 2008 (Pre-release) Listener won't accept new channel after first one is finished

    Hey, I posted regarding my custom transport, and the including of security the other day. I solved that problem but it seems like the adding of security caused some more trouble. This is on the server side, where a ServiceHost is used. Without security this was what usually happened (using reliable messaging though): In the Listener, OnBeginAcceptChannel() is called, and an async setup of communication is done. When ready OnEndAccept() is called, and a ReplyChannel is returned. On this channel ReceiveRequest() is called and a RequestContext is returned. Using the RequestContext.Reply() a reply is sent. Back to (1), where a new channel is created for the next message... Now, with security, BeginReceiveRequest ...Show All

  • Visual Basic How can you set variables to Nothing when using Return?

    Here's a hum dinger.... It's my understanding that it's good programming practice to set variables to nothing when you are done using them, however, how are you supposed to do this when a return statement is involved.  It's a catch 22... you cannot set the variable to nothing before you return it, and you cannot set the variable to nothing after you return it because no statements after "return" run. e.g. Public Function ReturnSomeCrap() As Crapola Dim SomeCrap As Crapola SomeCrap = New Crapola("100 lbs") Return SomeCrap End Function So, where and how do I set SomeCrap = Nothing, since I have to have it to return, and I cannot do it after the return Actually, in your example, you are not done with it: ...Show All

  • Visual C++ Different behaviour of MainFrame on different computers!!!

    In my windows profile Windows Classic style is set. My application has no scroll control here. But when it is run on computers with XP style windows, it gets a big vertical scroll to move my View up/down. I really don't want no scrollbar on my application. First thing I did was to set FALSE parameter in View's InitInstance here:  GetParentFrame()->RecalcLayout(FALSE);  ResizeParentToFit(); ... but, it did nothing to remove my unwanted scroll! Then I tried this piece of code:  CRect r;  GetClientRect(r);  SetScaleToFitSize(CSize(r.right, r.bottom));   .. and that removes the scroll, but now left side of the mainframe is empty, and there is just about enough space left ...Show All

  • Visual Studio Team System TFS SP1 and problem with get latest version

    Hello, I have installed TFS SP1 and have got the problem with VersionItems table. When I try to do "Get Latest Version" operation the error occures in rpc_Get stored procedure. It says that there is a collation conflict (SQL_Latin1 and "normal" Latin1). The stored procedure is encrypted so I cannot know what it tries to do. All other operations (check in, change workitems, etc) seem to work notmally. Can anyone help me and explain how to fix the problem Thank you. I have discovered that all the TFS databases are in "Latin1_General_CI_AS" but tempdb is in "SQL_Latin1_General_CP1_CI_AS" So when temp table #versionedItems is created in tempdb it is in default for tempdb collate: "SQL_Latin1_ ...Show All

  • SQL Server Deadlock at trigger

    a trigger need to insert or update record at the other table in high traffic environments however, the deadlock happens; ie, a trigger running twice at the same time want to need to insert record at the table. i trid to change isolation as SERIALIZABLE or REPEATABLE , but i cannot solve the problem. i guess the "while loop" affects the result because i try to cancel the loop and execute smoothly. How to solve the deadlock Thx ----------------------------- i used the following commands to change isolation level: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE begin transaction commit transaction ----------------------------- the code are as follows: declare setskuCursor cursor local static for select item, qua ...Show All

  • Visual Basic Copy dictory

    Hello   I am trying to make my program to copy a folder and paste it to somewhere else. But it gives be an error when i try this. btw i am trying to make a timer do this. when i use my.computer.filesystem.copydictory will it then overwright the other files in the folder cuz i need it to do that... Just keep copy and overwright but if a file in the folder that is copyed from gets deleded it may not get deleded in the copyed folder   my code:   Public Class Form1 Dim hvor As String = "C:\Programmer\Wizet\MapleStory\GameGuard" Dim hvortil As String = "C:\Programmer\Wizet\MapleStory\GameGuard2" Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As Sy ...Show All

  • .NET Development specified cast is not valid

    im developing a web service that interacts with sql server express. When i test out 1 service, this error pops up. below is my code in the web service. (note. Alarm and SMS are bot in INT but i have to cast them into String to insert into array). string[] aryAlert = new string[3]; dc.ConnectToDB(); command = new SqlCommand("SELECT SMS, Email, isDefault, UID, Alarm FROM Alert where (UID =" + uid + ") AND (isDefault='Y')", dc.Connection); command.ExecuteNonQuery(); reader = command.ExecuteReader();   while (reader.Read())         {             try             {     &nb ...Show All

  • Windows Live Developer Forums Determine if Pushpin Exists

    Can someone share with me the correct way to determine if a pushpin exists before adding it I see that there is a "pushpins" class that has an "exists" property, but it is always returning false for me. I am looking to do something like the following: if(map.pushpins.exists(myPushpin)) { //its already on map, do nothing... } else { //code to add it... map.AddPushpin(myPushpin) } Thanks a million! What exactly are you trying to do overwrite an existing pushpin Why not just remove the pushpin at that location, and then put the one you are trying to insert I'm not aware of this exists property for pushpins, sounds like something that hasn't been released yet. ...Show All

  • Gadgets HTM page dosn't show the img

    Hello, I've add some image file.jpg to my htm page, there is a problem with viewing this image as a part of htm page, I don't get what the problem is, the attribute was inserted correctly, the path is correct, the other pages that works with other imgs do not work with this one, I think the problem could be in properties of specifically this img, but I have no idea how to fix it, may someone help me with this thing Thanks Is the image "local" to your gadget, is the image going to be uploaded to the gallery If you need to get the path of an image that part of your gadget, try something like this: var imagePath = m_module.resolveUrl( 'arrow_left.gif' ); myI ...Show All

  • Visual Basic COM Interop question

    Hi, I have a Enertrprise MDI form written in VB 2005. This Enterprise MDI form, calls child forms are also in VB 2005, but are dll's with a gui interface. I have a customer support MDI form which is in VB6. This Customer Support MDI form needs to call the vb2005 child forms, and pass parameters to it. After the child form is closed, the parent MDI (written in VB6) needs to be refreshed. Is my best option to write a CCW I am concerned about how to refresh the VB6 MDI form, after the child vb2005 form has closed (or for that matter, pass other information back to the VB MDI form). Any detailed advice is appreciated bit confusing, but very helpful. The problem I might be facing is that the ...Show All

  • Audio and Video Development About IMFRateSupport::IsRateSupported.

    <<Question1.>> About third parameter receives value. It differ from SDK help description. why ※SDK use version 8.0.50727.42 RTM [detail]  Basicplayback sample is customized to support RateControl. Below is testcode. float rateRequested = 5.0; float actualRate = 0; hr = pRateSupport->IsRateSupported( FALSE, rateRequested, &actualRate ); The third parameter is expected "2.0" but returned "5.0". <<Question2.>> About the third parameter of IsRateSupported decsribed in the SDK Documentation. The type is described [in]. But according to the explanation of "the parameter receives...", it seems [out]. Whitch is right, [in] or [out] ...Show All

  • .NET Development Creating Image File: Parameter is not valid Using C#

    Hi everybody, I am creating an image(jpeg) file from stored bytes[] in sql database, Varbinary datatype, (I used Image datatype also same result), I am using this jpeg image file to set to a Image web control, what seems the problem and how to fix this problem Do I have proper datatype in sql to store converted jpeg file data Please provide codes. Thanks. [code] string sqlText = "Select * From PictureImages Where ImageName = @ImgName"; SqlCommand cmd = new SqlCommand(sqlText, conn); cmd.Parameters.Add("@ImgName", SqlDbType.VarChar, 20, "ImageName").Value = txtImgName.Text.Trim(); if (conn.State == ConnectionState.Closed) conn.Open(); SqlDataReader dr = cmd.ExecuteReader(); string filePath = Request.PhysicalApplicationPath + ...Show All

  • Windows Forms CPU usage

    Hi, I am looking for a simple way to diaplay CPU usage and (if possible) memory usage on a windows form. Cameron. How know my proccess name Reading this genial thread, i'm monitoring the cpu and mem usage of my app, but i must put explicit name of my proccess in: private PerformanceCounter MEM = new PerformanceCounter ( "Proceso" , "Espacio de trabajo" , "MyApp" ); And when run like 'Release' runs Ok, but when run in 'Debug' crash because the proccess is called in another way. Regards. ...Show All

  • Visual Basic How do I suppress display of "0"s in GridView web control

    I would like to be able to suppress the display of numeric data in a GridView web control if the value is zero. In other words, if the data is 0 or 0.0 I would like to to display a blank field. I can find no way to do this with DataFormatString. Any suggestions ...Show All

©2008 Software Development Network