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

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

god_of_coolness

Member List

Jake52
pdurbha
Jon Stroh
ElliotHC
ron nash
clkdiv
Venu Yankarla
canadian_coder
Gilles Lafreniere
Tigers21
Jarrardi
bryanedds
d kretz
csmith52
GMoulin
The Samster
Grahame Edwards
Gamargia
HopeDreamsComeTrue
Paula M
Only Title

god_of_coolness's Q&A profile

  • SQL Server DTS- Destination Column Name has spaces causing error

    I am using Advantage ODBC 6.2 to connect to a Advantage Data Server to push data from a SQL table into this server.  I can view the data from the ADS with DTS and I can insert data by using "Insert into TempTable ("Last Name","First Name") values ('test','test)" from a Execute SQL Statement. The issue is when I build up a DTS package to pull from SQL into the Advantage ODBC, I get a "missing closing ")"" error.  I have narrowed it down to the column names in the destination table having spaces (Last Name, First Name, and a bunch of others.  DBA 101 here).  How do I beat this I have tried editing the destination column names in disconnected edit by adding the double quotes but get a "Column Name '"Last ...Show All

  • Visual Studio 2008 (Pre-release) Drag and drop ListViewItems to another UIElement(Canvas).

    Does anyone have a good example on how to accomplish this I have a tried an fews things with no success and haven't been able to find any good examples. What do you want to drop the ListViewItems into Is there another ListView in the target Canvas, or do you want to just drop the ListViewItems directly onto the Canvas Also, in case you're looking for an example of drag-drop in WPF, check this out: http://blogs.msdn.com/llobo/archive/2006/12/08/drag-drop-library.aspx ...Show All

  • Visual Studio 2008 (Pre-release) screen to world coordinates

    hi, I want to know if there exists methods to convert a point (captured by the mouse in a viewport) from screen coordinates to world coordinates in wpf. If not, how can I do the conversion thanks, pascal. Do you mean how to convert from device pixels to logical pixels then you should try this method: System.Windows.Media.Visual. PointFromScreen (Point point); Sheva ...Show All

  • Visual Studio 2008 (Pre-release) ServiceContractAttribute Issue in Self Hosted Application:

    HI, I am having one more issue In Self hosted application: Basically we are developing a project in two version one is demo version and the other one is full version I want to use the same class interface service structure for both [ ServiceContract ()] public interface IService1 { [ OperationContract ] System. Guid AccountInfo( AccountInfo dataContractValue, string conn); } public class ClientInfo : IService1 { public System. Guid AccountInfo( AccountInfo dataContractValue, string conn) { // Code for the method } } this is working in IIS hosting wcf service, In case of self hosted , I am getting the following error : The contract type ClientInfo is not attributed with ServiceContract ...Show All

  • Visual Studio Team System Is AfterCompile batched on ConfigurationToBuild?

    I need to do some post compilation re-arranging of the binaries directory for each configuration, can I do this in AfterCompile and use the CompileOutDir item If I move the binaries to sub-directories of the BinariesRoot will the testing processes still pick them up AfterCompile is not batched on ConfigurationToBuild - it only executes once (after all configurations have been built). As such, you'll probably want to do the batching yourself, if you need to execute the same logic for each configuration. I am not actually certain about the testing issue - the TestToolsTask that executes the tests has a SearchPathRoot property that is set to the root directory for each configuration (<BinariesRoot& ...Show All

  • Visual Studio 2008 (Pre-release) BitmapImage holding an image file?

    I have an application that is loading images in the following manner. string[] files = Directory.GetFiles("c:\\", "*.jpg"); foreach (string file in files) { BitmapImage bitmap = new BitmapImage(); bitmap.BeginInit(); bitmap.UriSource = new Uri(file); bitmap.CacheOption = BitmapCacheOption.None; bitmap.CreateOptions = BitmapCreateOptions.IgnoreImageCache; bitmap.EndInit(); Image image = new Image(); image.Height = 50; image.Width = 50; image.Stretch = Stretch.Uniform; image.Source = bitmap; panel.Children.Add(image); } With some images, I notice that the file is being held/locked by the appl ...Show All

  • Visual Studio Express Editions Drag Drop a Node from tree list to a Rich Text Box

    How would u make it so that u can drag a node from the tree and put it into The Rich Text thing. Lets say that the tree is TreeList1 and the the Rich Text thing is RichTest1, please be specific on how u would do it, thanks for your help! UPDATE: Or how would you do this "if you click a node, the text from the node goes into the RICH TEXT BOX." For a treeview: Private Sub TreeView1_NodeMouseDoubleClick( ByVal sender As Object , ByVal e As System.Windows.Forms.TreeNodeMouseClickEventArgs) Handles TreeView1.NodeMouseDoubleClick Dim n As TreeView = CType (sender, TreeView) RichTextBox1.Text = RichTextBox1.Text & n.SelectedNode.Text End Sub ...Show All

  • Software Development for Windows Vista How to get color scheme name?

    I'm looking for Windows API function to get the color scheme name on Vista. GetCurrentThemeName() function is not good because the filename returned is the same for both Windows Aero and Windows Vista Basic. But I need something to know if the color scheme is Aero or Vista Basic because I'm doing different things based on the color scheme. Thanks! Aero.msstyles is running in both cases, and the CPL just queries whether the machine is glass-capable and whether composition is running to decide what choices to offer. ...Show All

  • Software Development for Windows Vista How to delete a registry entry

    I 'm sure there's a simple answer to this but without dcumentation I just can't find it! I need to delete registry entries my program makes. When I use RegEdit to delete the key, RegEdit shows it as gone. When I start my program, it's still there !!! How do I get rid of it Well it is not so simple - the behavior you are describing is in fact a special Vista feature called "Registry Virtualization". Check this link to get some basic info about virtualization in Vista. http://msdn.microsoft.com/windowsvista/default.aspx pull=/library/en-us/dnlong/html/AccProtVista.asp Then you can also find some useful information in this forum. ...Show All

  • Visual Basic WebServices and Functions accepting Generic Lists

    Hey Everyone, hopefully someone can help me with a little problem I have. I've coded a webservice to update a database on a server and I call it via a small application I've created anyways the webservice contains a function that takes in a datatable containing the actually database data (which seems to pass alright) and a couple of generic lists used to create the table if it doesn't exist. Problem I have is I've declared my functions in the webservice like the following <WebMethod()>_ Public Function ServerDataDB(ByVal Job as String, ByVal ColumnNames As Generic.List(Of String), ByVal TableData As DataTable) As boolean Now when I add a reference to it in my application it tells me that ColumnNames needs to be passed as type string ...Show All

  • Visual Studio Express Editions How to make a simple function

    Hi, I was wondering if there is anyway to turn a huge amount of code into a simple function. Right now I have a bunch of check boxes and they are all named C1-C7 and W1-W7, instead of putting in code for each one when clicked, which results in a large amount of code, is there anyway I could make one function to handle all of these. I tried something like this. If C(num).checked=true then W(num).checked=false endif its just a basic example of what i want and i could really use this later on. Thanks Well WayneSpanglers example does work but the other one might be nice for future use, ad thanx for showing me how to use cases.    Just note that all the cases ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Reading the vertex data from the opaquedata in a content processor.

    My question is really how would this be accomplished I asked earlier how to write a custom processor, and now I've got one, but I'm not sure how to get vertex data, or certain vertices out of the NodeContent and put it into the ModelContent. I'm trying to do this for precisely the kind of thing that was demonstrated in the "Gamefest Content Pipeline Demo" video. I would like to read certain marker batch vertices to be able to give me access to that data for placement of other meshes on top of a base mesh at the right spot. I would be much appreciative for help with this! :) Put a call to System.Diagnostics.Debugger.Launch() in your processor, at the point where you want to start debugging ...Show All

  • Visual C# Unhandled exception only when running in release without debugger attached.

    I am beyond baffled by this. My application throws a System.AccessViolationException only when it is run in Release mode without the debugger attached (as in, I run the exe directly, outside of Visual Studio or I do "Start Without Debugging" in the Debug menu). Debug mode - everything works great; Release mode with debugger attached - everything works great. The very nature of how this error is thrown makes it impossible to debug, so I have no idea where to look into correcting it. Has anyone else ever come across such an error Does anyone have an idea how to hunt down such an error The application is not just a few hundred lines, it is easily on the upper end of tens of thousands of lines. I cannot seek it out with a debugger be ...Show All

  • Smart Device Development Edit Datagrid and dataset using textbox value

    Hi there, Not sure if this is the best forum to post this question as it covers 2 subjects so i apologise in advance. I'm writing a Windows Mobile 5.0 application using vs2005 which will store data in an sqlmobile2005 database. I have created a form with a datagrid and several buttons and txtboxes to manipulate the data stored and displayed in the datagrid. The datagrid's datasource is a dataset which is based on the data from a single table in the database. i have the following code to update a specific field in the dataset based on the value of txtamount.text but get the error: NullReferenceException on the line ds.Tables.Item("ViewAccounts").Rows.Item(lngRow).Item("PmtMade") = decPmt When i l ...Show All

  • Visual Studio Team System Spellchecking in FxCop 1.32

    hi, I could like to know whether FxCop 1.32 has a spell checker. If yes, how can I access it to implement it. Thanks in advance, regards, Srini... Hi Friends, Thanks a lot.... Actually my target is to spell check all the words inside the Method Comment & Type Comment (ie) Xml Document..... I tried with the sample provided, it's working fine.... If there is any change in the implementation of "SpellChecker " in later version of FxCop, then I will change it accordingly. Thanks friends, regards, Srini..... ...Show All

©2008 Software Development Network