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

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

dafle

Member List

Ravi Santha
Kris G
sachinsanjayfederer
zoezoo
simon_
j3ns3n
odinlai
KIPREAL
jortiz
lenik
tattoo
goldstei
tonn
Suncho
salah1980
Ace_Balasador
Richard McEnery
toplisek
madhi
Thomas S. Andersen
Only Title

dafle's Q&A profile

  • Visual Studio Express Editions Replace text in main form text box via input from 2nd form old/new text windows

    I have a program in which text is entered into a textbox which is itself, when saved, a load file for a certain database type program. I'm fleshing out the menu items and thought it would be good to have a replace function since sometimes if there is a repetitive entry which isn't right, I could easily go through and replace it... I created a new form for this function, which is small and offers the text boxes for entering the old and new text to replace in the main form's text box. I've read through examples via the MSDN index, but nothing seems to be working. This seems to be rather straightforward, so I don't understand what I am missing. The code I have so far is below: Public Class ReplaceText Private Sub OK_Butto ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. some simple noob question

    Hi Well.. i learned c#.. and i said what the heck .. why not learn direct x.. and i have some problems understanding cerain things like: if i have like 30 meshs .. and the vertex buffer.. i have do render seperatly every mesh plus the vertexbuffer sorry if i sound crazy.. but.. need some help.. The normal way is to render each mesh with an own draw call. There are some tricks to render multiple objects with only one call but as you are a beginner you should not care to much about this now. With mesh you mean the mesh class In this case it manage the vertex buffers for you (create, fill, select, destroy). You only need to call “DrawSubset”. ...Show All

  • SQL Server using Contains to find Inflectional variations of multi words with AND logic

    what if you want to search with AND logic using the FORMSOF(inflectional,...) methodology. if my search phrase is "sport award" I can easily do an OR search using the following in my where clause: CONTAINS(Colname,'formsof(INFLECTIONAL,sport,award). but the and is far more tricky.... does anyone know how to do this without having multiple Contains statements (which greatly increases overhead) I know that I can use AND in a straight contains like so: CONTANS(column, '"sport" AND "award"') but this does not allow me to explore inflectional variations on the words... nesting multiple FORMSOF's doesn't seem to work either like so: contains(column,'"formsof(inflectional,sport)"' AND 'formsof(i ...Show All

  • Visual C# Should I use Dispose in this situation

    hello, i'm initiating an object inside a method: private void Example () { MyClass ins = new MyClass(...); ins.AMethod(); ins.Dispose(); } i'm wondering if the last line: ins.Dispose(); is necessary Or C# does it automaticlly ... i mean disposing the object as soon as the method is finish. please advise Hi, It is very advisable to call an objects Dispose method. If the object is implementing IDisposable, or has a dispose method available then you'll need to call it. In your example, after the method finishes executing your object would be removed by the garbage collector. But what if that object uses a umananged resources That is when memory leaks appear. So as a precaution, alwa ...Show All

  • Visual Studio Tools for Office creating VSTO outlook Addin Setup File

    i have created an outlook addin using VSTO , if i run the program its working fine , but if i install from the setup file , installation is fine, but no menus or buttons getting added to to outlook express, can anybody help me out on this issue.. Hi, I am also getting the same error message "Cannot set the security policy. The specified solution code group name is not valid" I have developed a add-in for Excel. But i have checked the solution code group name throughout all the custom action data. Twice i have created new project and did the same from the deploying visual studio 2005 tools for office second edition solutions using windows part 1 and 2. Thanks and Regards, Sankar ...Show All

  • Visual Studio VS inproc compiler, MSBUILD and the obj subdir

    I've been toying with the new VS and MSBUILD for the last few days and I stumbled on a bit of a problem. I've been trying to move the bin and obj subdirs out of my c# sourcetree with mixed results. the bin subdir was easy, that can be set in the project settings. the obj subdir is slightly more problematic.  I've added these changes to the start of a test csproj file < PropertyGroup > < BaseIntermediateOutputPath > ..\..\obj\ </ BaseIntermediateOutputPath > < UseHostCompilerIfAvailable > false </ UseHostCompilerIfAvailable > </ PropertyGroup > now for the questions: 1) Is there a better way to move the obj path than redefining that property from Microsoft.common.targets 2) if I leave off t ...Show All

  • SQL Server SSIS Error with duplicate IDs of copied packages

    Hi, I recently encountered an error when I created several copies of one package. It's always nearly the same package with small modifications. I call this packages from a parent package which is part of our datawarehouseing-framework. The problem is, when copying a packages or using a packages as template the packages' IDs and Task's-IDs are the same. And this isn't only an issue concerning logging!! : When the parent package calls one of the copied packages the first task is executed in every package parallely. Furthermore ... when I for example set a breakpoint on a data transformation task in one of the packages, the breakpoint is set in all packages on the same task! This is resulting in strange errors because the tasks-st ...Show All

  • Visual Basic Embedding Powerpoint, Word, or Excel files into Visual Basic Form

    Although I figured out how to embed pictures and videos, I know just enough to be dangerous. I'm looking to embed Powerpoint, Word, or Excel files into a Visual Basic form. How does this work and what are the basic instructions Also, are there are two different call up methods If the Application is already open, just retrieve the file It the Application is closed, open it then retrieve the file Learning one small step at a time, Mike Riceroman, I searched an article titled Building a Simple Word Processor Around an Extended RichTextBox Control that contains a complete example on embedding word into a form, I hope this example will help you with your project: http://w ...Show All

  • Software Development for Windows Vista How do you set a public property of a workflow with xoml?

    WWF Gurus, I have an xoml state workflow with a reference to the assembly in the xoml root node. I have a composite EventDriven activity with HandleExternalEventActivity (which can work with workflow public/private properties). I need to have the same functionality (ability to set public/private workflow-level properties) before calling SetStateActivity at the end of the EventDriven composite activity. Is there a way to call HandleExternalEventActivity twice in the same EventDriven activity Any other ideas Thanks in advance, John P. John Portnov wrote: I have an xoml state workflow with a reference to the assembly in the xoml root node. I have a composite EventDriven activity with HandleExternalEventActivi ...Show All

  • Visual Studio Team System My .config file is not being copied to test folder

    I have developed a series of unit tests and everything has been working fine. Now I have added a new test to verify retrieving information from my xml configuration file. I have included this file in my development project and have set the property: "Copy to Output Directory" to "Copy always". When I build my project, the configuration file is copied to the bin\Debug folder as expected. In my test project, I've done the same thing. I added the configuration file to the test project and set the property to "Copy always" as well. When I build the project, the file appears in the bin/Debug folder under my test project folder. However, when I run my test, the config file is not found. After investigating, I found ...Show All

  • Software Development for Windows Vista CreateWorkflow with a rulesReader and still use a compiled workFlowType ?

    I have a compiled sequential workflow (no .xoml) which needs to use dynamic rules. So i have a .rules file, I want use when creating the workflow. The CreateWorkflow method can use an XMlReader with the rules, but not without providing an XMLreader with the xoml for the workflow, which i don't have. Is there way to use the compiled workflow type and provide it with a rules file dynamicly. I thought seperating the dynamic rules from the compiled workflows is the key point of the Workflow Foundation Assuming that you don't want to do any real-time compilation to create the workflow assembly, then I see a couple of additional options: Create a custom loader derived from DefaultWo ...Show All

  • Visual Studio Team System TFS custom control custom ConfigurationSection config file issue

    I developed a custom control for TFS SP1 workitem tracking. Initially it was not using any external databases or config files or anything fancy and it worked great. Once I switched to using business objects for persisting custom workitem data, I ran into an issue of System.Configuration not being able to load "<dll name> assembly or one of its dependencies" when trying to read a custom section within a custom config file. The assembly listed in the exception is the one that contains the definition of the custom ConfigurationSection (works in regular applications), and that assembly and config file are deployed along with the assebly containing the custom control in the same folder. So, the question is: Is there an ...Show All

  • Visual C# IE7 and Visual Studio

    Installed Internet Explorer 7 and after that we get the message Visual Studio Busy ..... message when doing a build. We are using XP Professional. You must be kill the process with task manager after that. We tried various things, but after going back to a restore point that was the one before we installed IE7 the message has not shown up again.   Any ideas on what is happening with this message   I have also seen a balloon, without IE7, that indicates that Visual Studio is busy and I wonder if there is more to this issue than just installing IE7 We did not go back an install IE7 again to prove that it really was a bad install, but wit AV software maybe your right. ...Show All

  • SQL Server Importing DTS From 2000 to 2005

    Hi, I'm getting slightly frustrated...! I've imported a couple of DTSs from 2k to 2005, now I know that they are stored in MSDB and I know that I need to export them to a file before I can work on them in SSIS. The problem is: How do I export them to a flat file I've looked everywhere and it's driving me nuts! Also I can't seem to find out how to delete them either ! I can see the data sotred in the dtspackages90 table but how do I edit/get rid of them. Help! SQuirreLs_r_nutz wrote: Hi, I'm getting slightly frustrated...! I've imported a couple of DTSs from 2k to 2005, now I know that they are stored in MSDB and I know that I need to export them to a file before I can work on ...Show All

  • Windows Forms Why does Control.DoDragDrop swallow exceptions?

    I came across a situation where an exception thrown in a TreeView's DragDrop event handler was not bubbling up to my application's UnhandledException / ThreadException event handlers. A little searching led me to this blog post: http://www.vandervelde.co.nz/2006/02/exceptions-disappearing.html I used Reflector myself to confirm the behavior. Any comments from the Windows Forms folks at Microsoft as to the reasoning behind this Brian Baker wrote: Yeah, makes sense. Too bad there isn't any "official" documentation on this at MSDN. I'm sure lots of folks have run into it before. Yeah, it can be a nightmare. Sometimes I just have blocks of code that don't execute after dodragdrop! I t ...Show All

©2008 Software Development Network