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

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

wycleft

Member List

Chuck Miller
Rocket horse
R3dD0g
Mehdi Mahdloo
danych
PeterVrenken
Rudemusik
smithalovesdotnet
Niels Flensted-Jensen
EmJay71
Mike36
FHJJr
RayCan
JennyMQuinn
bentini
yfradkin
jmorelle
Terry Downing
R Raghu
cdemez
Only Title

wycleft's Q&A profile

  • Visual Basic How can I search for a specific message in Outlook using .NET?

    All, I'm just a little stuck (which isn't particularly surprising since I'm making this up as I go), so I'm hoping someone can help me out. I am writing something to interact with one of our UNIX servers that I have just about finished, but I'd like to add one more feature... As it stands now the user submits a file to the UNIX server to run some tests on, and the server generates an email sent to Outlook with the results of the test. I'd like to add code to search within Outlook for a specific subject line and open the message found. The subject line will be something like "My_test_ABCD", but I want to ignore "Your_test_CDEF" and "My_real_ABCD". Another concern is that the message may not be in the I ...Show All

  • Visual Studio 2008 (Pre-release) XPath relative binding causes StackOverflowException

    Lee d has been helping me with some relative binding problems I'm having. Basically I'm using an XML file for the test data and the relative binding is causing a StackOverflowException. All the binding is defined in XAML: Parent StackPanel defined as < StackPanel.DataContext > < Binding Mode = " Default " Source = " {StaticResource CatalogDS} " XPath = " /Objects/Instances/Instance " /> </ StackPanel.DataContext > Relative that causes the exception: < StackPanel DockPanel.Dock = " Left " Margin = " 0,0,0,0 " x:Name = " BillToStackPanel " Orientation = " Horizontal " DataContext = " {Binding XPath=BillTo} &quo ...Show All

  • Visual Studio Express Editions Adding to default context menu in a textbox

    I found it really nice that a textbox has a fully functional context menu built in, ready to go. I needed to add an additional item to the pre-defined context menu recently, so I added a context menu control to the form and linked it to the textbox. That zapped all the pre-defined stuff and I had to manually code in that support as well as the one item I was adding. Is there a way I could have piggy-backed on the standard context menu and added my one item instead of having to re-code the whole thing Oh well, just thought I'd check..... There seems to be almost zero good examples about using API and PInvoke etc. under visual basic express. And for those of us that missed the days of programming in C or VB6, trying to c ...Show All

  • .NET Development problem when reading keys from app.Config

    Hi, I'm experiencing problems when trying to retrieve keys from the app.config-file using C# VS2005. This is the contents of app.config < xml version="1.0" encoding="utf-8" > <configuration> <configSections> <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > <section name="ConfigManagerTest.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission ="false" /> & ...Show All

  • Visual C++ Unrelated! error LNK2019

    Hi everyone I've started new project (a binary search tree) I've created these files TreeNode.h (containing node header file) Tree.h (containing tree header file with #include "treenode.h") Tree.cpp (containing tree's definition, with #include "tree.h") main.cpp (containing the main's body with #include "tree.h") when I write the main body inside the main.cpp file, I get the linkage error, but when I cut the main and paste it into the tree.cpp file everything's ok! I've got this error a few times for other projects like this! Please help me on this! Thanks in Advance hi, Alireza re: Unrelated! error LNK2019 your have this Link error because there is something different betwee ...Show All

  • Software Development for Windows Vista Distributed Workflow using WF

    Hi, I have a sequential Workflow which consists of activities say, A B and C. I need to execute them in a distributed environment i.e. Activity A and C on Machine A and Activity B on Machine B. Is there a built in support to realize this in WF and if not, are there ways to realize this using the runtime services provided in WF Rgds Giri Hello Matt, I was thinking of the following approach. a) Activity A completes its execution on Machine A. The workflow is unloaded and the instance stored in a persistent store using the PersistenceService provided by the WF runtime. b) Somehow pass the instance ID to Machine B. The workflow runtime on Machine B would then retrieve the same pers ...Show All

  • SQL Server Upgrade from MSDE 2000 Release A to SQL Server 2005 Express

    I'm trying to upgrade the Default Instance of MSDE 2000 Release A which is installed with Mixed Mode and strong password to SQL Server 2005 Express in a Windows 2000 Server with SP4.  On the Upgrade Logon Information screen, if I select SQL Server Authentication Mode, it will give me this message: SQL Server Setup Cannot Upgrade the specified instance by using SQL Server Credential.  You must use Windows Authentication credential for the upgrade. Thanks for any help. I haven't seen this error. I'm going to move these to the Setup forum as they will have more details on security settings during upgrade. FYI - While this speicific issue isn't addressed, you can find the MSDE to SQL Expres ...Show All

  • Visual Studio C# Chinese wont build resources on Vista

    In my C# project I have CHS/CHT for Chinese resources. If I build the project on Vista these two languages will not build the resource dll file. I have to rename to Hans/Hant for Chinese to build. If I move the project back to XP then it again wont build and I have to rename the resources again. I've heard of a workaround where you set the resource programatically in code based on the OS. Does anyone have a beter solution or info about this issue Thanks in advance, KC Wolf, This is a known issue we're already tracking internally. As you found out, the workaround is to rename back and forth - unfortunately. There may be a QFE released to address this -- and maybe a modification needed on the MSBuild side. Neither are c ...Show All

  • SQL Server reseeding temporary tables or table data types with identity column

    Hi, I have a indexing problem. I have a sequence that needs to has a index number. I want to use a table data type and have a working sample BUT I cannot reseed the table when needed. How do I do this. This works only for the first ExitCoilID then I need to RESEED. Here is my code: DECLARE @EntryCoilCnt AS INT , @ExitCoilID AS INT , @SubtractedFromEntyCoilCnt AS INT DECLARE @ExitCoilID_NotProcessed TABLE ( ExitCoilID int ) INSERT INTO @ExitCoilID_NotProcessed SELECT DISTINCT ExitCoilID FROM dbo . TrendEXIT where ExitCoilID is not null and ExitCnt is null order by ExitCoilID DECLARE @ExitCoilID_Cnt_Index TABLE ( E ...Show All

  • .NET Development Opening dBase file with extension other than .dbf

    Hi I'm trying to open a dBASE file with non-standard file extension using ADO and JScript. My code is as follows: var szDatabasePath = "C:\\Example\\"; var szConnection = "Driver={Microsoft dBase Driver (*.dbf)};DriverID=277;Dbq=" + szDatabasePath; var oDBConn = new ActiveXObject("ADODB.Connection"); oDBConn.Open(szConnection); var oRS = oDBConn.Execute("SELECT * FROM example#ven"); The output is as follows: C:\Example\Parse.js(14, 1) Microsoft OLE DB Provider for ODBC Drivers: [Microsoft][ODBC dBase Driver] The Microsoft Jet database engine could not find the object 'example.ven'. Make sure the object exists and that you spell its name and the path name correctly. If I rename f ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3D Playing Cards ?

    How would I approach a 3D representation of a playing card(s) If using a model, would 52 different models be required so that each card has it's own texture Can user primitives (i.e. 2 triangles to make a card shape) have different textures on each side What would be the best method for this And when I say I'd like a 3D card rendering engine, I'm not talking about the dime-a-dozen card engines out there, I'm talking about something almost photo-realistic for the cards (similar to how pretty the Pocket-Jongg sample in the video montage makes those mah-jongg tiles look). And I'd like it to be free to the XNA community. Hey well I can dream. So who wants to take that project on Bill ...Show All

  • Visual Studio Creating dynamic columns in crystal report using C# 2005

    Hi, We are delevoping C# windows application where we want to embed new crystal reports. Is there anyway to create and place the Report Objects(fields, Textbox, Subreport etc) in ReportDocument through C# code at runtime . For ourcase, the number of columns in the report will vary for different scenarios. So we have to control the number of columns and positions at runtime. Is this possible to do it through crystal report Could you give any method in CrystalReport to achieve the above task Thanks, Senthil A I am having the same problem, if u found the answer pls write Thanks Arun ...Show All

  • Windows Forms Images don't display.

    Hi: I'm trying to get a simple image to show up in a DataGridViewImageColumn in a DataGridView. No matter what I do, all I get is a red X . In the properties window I can see the image justt fine. In the column in the grid, I just get that X. I started with a jpg and tried converting it to a bitmap. I know the app. can see it because the properties window names it and displays it. If I make it a 'resource', it can see it. Still the column itself cannot see it. Oh, I also tried setting the image mode to Stretch. It simply can't see the image. What must I do to get the image to show up Or is it that the DataGridView simply doesn't display images Hi, I tried again, and did the following: Add a new datagridview, edit ...Show All

  • SQL Server How do I turn it off?

    Ever since installing SQL Server 2005 Express Edition the XP Task Manager shows “sqlservr.exe” running normally, as a “NETWORK SERVICE” consuming 26MB of memory. This is true even after a cold reboot. I’d like to turn SQL off since I am not currently planning on using it. I tried detaching a couple of projects I had started, as part of tutorials, but that did not make a difference. So how do I turn SQL Server 2005 Express Edition off without removing it from the system, which I do not want to do Thanks. Thomas Navigate to the services in the control panel and and stop the SQL Server(SQLEXPRESS) service and deactivate it until you need it. HTH, Jens K. Suessmeyer, --- ht ...Show All

  • Connected Services Framework Move CSF databases to a different SQL Server Instance

    Hi, I need to move the databases created by CSF to a different SQL Server Instance. Where and what will be the changes required to be done to get the system running again. Ashish Hi Ashish and VDeevi, Thanks for your notes - all of the CSF databases can be moved using the following process: (a) Stop message flowing to all instances the connector, ideally this will be done be stopping the up-stream service(s). (b) Stop the application pool in IIS, or use iisreset. (c) Use SQL Server tools to attach/detach, or backup/restore, or even log-shipping to move the database to a new SQL Server machine. (d) Verify, using SQL Server tools, that the database is intact and functioning. (e ...Show All

©2008 Software Development Network