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

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

kennm

Member List

belikekhushi
jazzmy
SLV
Stuman99
twaltz
toffyrn
wpf michelle
dzimmy
Tom Phillips
Dirty Steve
asalcedo
Paul Fuhrmann
yjacket2006
nc-ghost
Sean Connolly
proximac
sunrunner
A.Russell
AdriM
QWERTYtech
Only Title

kennm's Q&A profile

  • Visual Studio 2008 (Pre-release) ComboBoxItem Popup shows behind rectangle

    My comboox popup appears only behind the rectangle: <Window xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " xml:lang="en-US" x:Class="UntitledProject4.Window1" x:Name="Window" Title="Window" Width="640" Height="480" Background="{x:Null}" WindowStyle="None" Opacity="1" AllowsTransparency="True"> <Grid x:Name="LayoutRoot"> <Rectangle Fill="#FFFFFFFF" Stroke="#FF000000" StrokeMiterLimit="10" StrokeThickness="0" RadiusX="20.5" RadiusY="20.5" Margin="5 ...Show All

  • Visual Studio Team System How to define a conditional transition?

    Is there a way to define a transition that's only available in the dropdown if a certain condition (say, assigned to someone) is met Thanks a lot Naren. I don't know if you had a chance to look at my other thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=597444&SiteID=1 . I was hoping that a conditional transition would solve the problem I posted in the last mesage in that thread. Thanks again. ...Show All

  • SQL Server Scheduled events along with regular events

    Hi! Does it allowable to use scheduled events and regular events together in one subscription class I get the error when I use then simultaneously. The description of error is New request is not allowed to start because it should come with valid transaction descriptor. It is being generated when the rule tries to run. If I understand your question, you want to know if one subscription class can have event-driven subscriptions and scheduled-subscriptions. Is that right The answer is yes. When you define the Subscription class in the ADF, make sure you specify an EventRule and a ScheduledRule node, complete with the appropriate matching rules for each scenario. HTH.... ...Show All

  • Visual C# How can I rename a file in C#?

    I realize this may sound like a pretty dumb thing to ask but, I just finished the Online Help and as a result am more confused than when I started! I went to the C# Help, set the language filter to C# found the "RenameFile Method", noted that it was a new feature of the 2.0 Framework saw the syntax was in C# . . . and that was it. Everything after that is in Visual Basic, even the Example, which wasn't very clear at all: Example This example renames the file Test.txt to SecondTest.txt . Change " C:\Test.txt " to the path and file name of the file that you want to rename. The Online help, in this case wasn't very helpful. I would really appreciate any assistance in this. I clicked on the availa ...Show All

  • Visual Basic showing wait cursor

    alright, I know this dates back to vb6 you used to do I believe Do.cmd.Hourglass=True (maybe wrong, its been a while since I used vb6) how do you show the wait cursor and return it back to normal in vb Davids Learning 'wait: Cursor = Cursors.WaitCursor 'change back: Cursor = Cursors.DefaultCursor There was no option to use "nothing" Thanks though, you got me in the ballpark. Davids Learning ...Show All

  • .NET Development COMException (ThrowExceptionForHR) => handle is invalid when calling Marshal.FreeHGlobal

    Hello In my application, i read and write a lot from pointers (System.IntPtr). Somewhere at a "Marshal.FreeHGlobal()" (i've got a lot of them, and it varies where the program stops) i get this Exception: "System.Runtime.InteropServices.COMException (0x80070006): The handle is invalid. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at System.Runtime.InteropServices.Marshal.FreeHGlobal(IntPtr hglobal) at BTR2_DLL_Test.Form1.Button11_Click(Object sender, EventArgs e) in C:\DEV_OLD\VS2003\Testjes\BTR2_DLL_Test\BTR2_DLL_Test\Form1.vb:line 714" A closer look gives me the TargetSite: Thr ...Show All

  • Software Development for Windows Vista Expired timers are processed very slowly

    We have a process where thousands of workflows are created within 30 min time. Most of these processes are awakened by a delay some hours later, invoke a web service and then end. This all works perfectly, except that the workflows that expired are processed sequentially, one after the other, making the process take several hours instead of the 30 min it would take if several workflows were processed in parallel, we tested it by removing the delay. Also, because of the sequential processing, the workflows that are run last are run much later that the expiry time. This is using ManualWorkflowSchedulerService and useActiveTimers=true. Is there a way to force ManualWorkflowSchedulerService to process several expired workflows in parallel Tha ...Show All

  • Visual C++ Pls Help. Urgent!!

    Hi Everyone, Currently I having a problem on pass vb string into c dll. I sucessfully pass the string to the c dll and return the whole string with the codes below: c code to create dll char *ccDecrypt( char *str, char *ostr ){ return str ; } vb code Private Declare Function ccDecrypt _ Lib "C:\Documents and Settings\fpca\Desktop\dll\TestDLL\Release\TestDLL.dll" _ (ByRef str As String, _ ByRef ostr As String) As String Private Sub Command1_Click() Dim deCard As String txtDe.Text = ccDecrypt(txtEn.Text, deCard) End Sub But when i change the str in the c code to str[0], it throw me error... can anyone suggest how to solve this problem I st ...Show All

  • Smart Device Development Multi-Language support in C#

    Hi, I have developed SmartDeviceApplication output of which is an .exe in C#.I want that exe to support multiple language.can anyone help me in this regard to how to do it.Wheather i need to add a new resx or do i have to create a dll I want to support basically both chinese and english depending on the user requirment. Hi Ahmed, Thanks 4 the reply.But still i have some questions. 1.Wheather i need to set CurrentUICulture If so do i have to do before InitilizeComponent and how to do it. 2.I checked in the emulator and also in device there is no Chinese(Simplified) .How do i add that 3.Is there any way without changing the Regional settings i can make my application to d ...Show All

  • SQL Server connection problem

    hy, I have deployed my package to an microsoft sql 2005 server, this is error free. but i can't connect to the server it gives an error "access is denied". i have tried looking at the rights i have and normally it should do it. if anybody has an idea what's the problem might be, shoot. thanks in front, jens What kind of server are you trying to connect to SQL Server SSIS Server etc... From where are you trying to connect to it From BIDS From SSMS From a remote app From the command-line etc... How are you conencting to it SQL auth Windows auth Provide more information and you might get more answers. -Jamie ...Show All

  • SQL Server loading XML

    I am trying to load many XML files into SQL Server 2005 Standard Edition. Each XML file contains many individual XML items, each starting with: < xml version="1.0" encoding="UTF-8" > The files do not have a .xml extension. I do have a schema for the data. I can also get hold of a dtd file for the data. Since I am new both to XML and to databases I have been trying to follow examples wherever I can find them. I have not found the right example or tutorial. The closest that I found was in Kirk Haselden's book (a very nice book to learn from, by the way). On page 73 he sets up an OLE DB Source. His example works fine. But when I try to use XML Source instead of OLE DB as the source, I cannot get it to work. A typi ...Show All

  • Smart Device Development CameraCaptureDialog on HW6965 will not set resolution

    The followign code does not successfully take igh resolution (1280x1024) photos on an HW6965 (HW69xx) device. The code does work successfully with an iMATE JASJAR. The requirement is to take full resolution photos. The device supports resolutions of 1280x1024, 640x480 , 320x240, 160x120 in the HP Photosmart software. Any assistance or suggestions appreciated. CameraCaptureDialog dlg = new CameraCaptureDialog (); dlg.InitialDirectory = "/Storage card" ; dlg.DefaultFileName = "file" + DateTime .Now.ToString( "HHmmss" ) + ".jpg" ; dlg.Mode = CameraCaptureMode .Still; dlg.Resolution = new Size (1280, 1024); dlg.StillQuality = CameraCaptureStillQuality .High; ...Show All

  • Visual Studio Team System Windows Communication Foundation Support

    I am aware that VSTS supports ASMX web services in the logical application designer, but is anyone aware of plans to include support for Windows Communication Foundation (WCF, Indigo) web services Hi Todd, As you are aware, VS Team System Architect does not currently support Windows Communication Foundation (WCF) out of the box. You can use the SDM SDK to create WCF related applications and endpoints for use in your models. Link to the SDM portal http://lab.msdn.microsoft.com/teamsystem/workshop/sdm WCF support is a high priority item for us, and we are currently investigating it for our next version. Thanks Suhail ...Show All

  • SQL Server Same cube, different answers.

    I have built a cube that consists of three tables. The first table consist of childcare facilities and is historical. The second table consist of their licenses to operate and is also historical. A facility typically has a group of licenses such as infant, toddler, schoolage, ect. and the license has an assigned maximum capacity. The third table is used to resolve the many to many relationship that exist since both tables are historical. For example, a facility's record may change over time but still have the same set of licenses. The dimensions of the cube consist of the facility dimension, the license dimension, and a fact built on max capacity. When I browse the cube from the cube designer I get one set of answers. When I built a piv ...Show All

  • Gadgets inline g:text and addGlow method

    Hi everyone, The addGlow method works perfectly when using it as in : var mytext = bgid.addTextObject('TEXT',fontfamily,textsize,fontcolor,posx,posy); mytext.addGlow('white',3,100); However, I can't seem to have it work when the gText element is "hardcoded" in the document, as in : <g:text id="mytext" class="..." style="..." onmouseover="handleglow(this)" /> With the function function handleGlow(obj) { obj.addGlow('white',3,100); } Am i doing something wrong Should I prefer the addTextObject method and then attach an event to the object thus created If so, how Thanks for your answers :) The only way to get a gText object is via addTextObject - I'd be very suprised if you actually got a hard-cod ...Show All

©2008 Software Development Network