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

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

SCRunner

Member List

jccondor
IceAngel89
satya31237
Michael J Brown
Ray Bell
anukirthi
Mark Hogan
DarrenARBell
Lambros Vasiliou
chare
ccrockatt
a.E
Wedgetail
phokaia
Stigern
Doffen
coolcoder
GoDaddy
I.Katzav
RobertSHarper
Only Title

SCRunner's Q&A profile

  • Visual Studio 2008 (Pre-release) Any Changes on dataContractSerializer for RC1?

    Im doing the same thing as http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=248320&SiteID=1 with RC1. need to load the type at runtime. here is my configure section < system.runtime.serialization > < dataContractSerializer > < declaredTypes > < add type = " myNS .BaseObject,TrackService,Version=1.0.0.0, Culture=neutral, PublicKeyToken=null " > < knownType type = " myNS.MyObject,TrackUpdater,Version=1.0.0.0, Culture=neutral, PublicKeyToken=null " /> </ add > </ declaredTypes > </ dataContractSerializer > </ system.runtime.serialization > I add it both in the service and client. but it still complaining at the receiver ...Show All

  • SQL Server Linked Server to MYSQL using OLEDB Provider for MYSQL cherry

    Good Morning Has anyone successfully used cherry's oledb provider for MYSQL to create a linked server from MS SQLserver 2005 to a Linux red hat platform running MYSQL. I can not get it to work. I've created a UDL which tests fine. it looks like this [oledb] ; Everything after this line is an OLE DB initstring Provider=OleMySql.MySqlSource.1;Persist Security Info=False;User ID=testuser; Data Source=databridge;Location="";Mode=Read;Trace=""""""""""""""""""""""""""""""; Initial Catalog=riverford_rhdx_20060822 Can any on help me convert this to corrrect syntax ...Show All

  • Visual C# VB to VC# translation

    the code in VB AddHandler wb.DocumentCompleted, AddressOf WebBrowser1_DocumentCompleted what's the equivalent in VC# (via Instant C#) wb.DocumentCompleted += new System.EventHandler(WebBrowser1_DocumentCompleted); David Anton www.tangiblesoftwaresolutions.com Instant C#: VB to C# converter Instant VB: C# to VB converter Instant C++: C# to C++ converter, VB to C++ converter Instant Python: VB to Python converter ...Show All

  • Windows Forms Night Vision

    I am working on a military application that needs to support a "night vision" mode - that is, make the application appear in a green scale color pallet to make it easier on the eyes in reduced lighting. Now, I know I can take an approach that will "skin" or "theme" my application to make it appear green (our GUI COTS product Infragistics NetAdvantage makes this possible), but it still isn't a 100% solution because we would need to re-do all of our images/icons that we use in the app to a green scale version, and then code the functionality to change the images at runtime when needed. Further, because we display maps and map information, there isn't an easy way to change all of the maps into a green scale. Havi ...Show All

  • Visual Studio 2008 (Pre-release) Error : The default entity container name 'HRISBusinessModel.HRISBusiness' is invalid.

    Hi, I've created my first test application and I got the following message : The default entity container name 'HRISBusinessModel.HRISBusiness' is invalid... I'm unable to find a reason, so if someone can help me to solve this Message : The default entity container name 'HRISBusinessModel.HRISBusiness' is invalid. The required mapping and metadata information could not be found. Parameter name: defaultContainerName The inner exception message is : The Entity Container Type 'HRISBusinessModel.HRISBusiness' for the CDM space does not exist in Metadata workspace. MSL: < xml version="1.0" encoding="utf-8" > <Mapping p1:Space="C-S" xmlns:p1="urn:schemas-microsoft-com:windows:storage:mapping:CS&quo ...Show All

  • Windows Forms C# - ListView

    Hi... In my ListView code i have 10 rows & 10 columns. I want to search 1 word say "Search" in a perticular column(& all rows) & then if i have that word in that column then only i have to select that perticu;lar row or else i have to delete that row from completely ListView . (e.g. I am searching for word "search" in column 5 & i found that word in row no. 1 , 3 , 5 , 7 then on my form i have to display only 1 , 3 , 5 , 7 rows of that ListView) How i can do this in C#... Thanks , Vinay Thanks for immediate reply... But i modified the code slightly but still i am getting following errors on red line shown below... The best overloaded method m ...Show All

  • SQL Server Horizontal table

    I have seen the blog article about creating  horizontal tables but it says that you need to have a static number of rows. Is there a way to do this if you have dynamic rows   I need for information to flow down the page and then start at top of the next column and then flow down again. I need 3 columns. Unfortunately, there can be very little or a lot of information in each section.  I need to do this: Contract 1                          Contract 4                         ...Show All

  • Software Development for Windows Vista AM_MEDIA_TYPE

    // Setting the media type for the pins to be created AM_MEDIA_TYPE amTypeVideo; amTypeVideo.majortype = MEDIATYPE_Video; amTypeVideo.subtype = MEDIASUBTYPE_MPEG2_VIDEO; amTypeVideo.bFixedSizeSamples = TRUE; amTypeVideo.bTemporalCompression = 0; amTypeVideo.formattype = FORMAT_MPEG2Video; amTypeVideo.pUnk = NULL; amTypeVideo.cbFormat = sizeof(g_Mpeg2ProgramVideo); amTypeVideo.pbFormat = g_Mpeg2ProgramVideo; AM_MEDIA_TYPE amTypeAudio; ZeroMemory(&amTypeAudio, sizeof(AM_MEDIA_TYPE)); amTypeAudio.majortype = MEDIATYPE_Audio; amTypeAudio.subtype = MEDIASUBTYPE_MPEG2_AUDIO; /* here is missing some properties of MEDIATYPE_Audio, please give me an example what properties should be there and their valu ...Show All

  • SQL Server Expression problem in Model Designer

    Hi I created a model on a rational schema (sql server). It also contains dates. That datetime is split up into the date itself, daynumber, weeknumber, monthnumber, ... I want to create an extra field like dayName or monthName, based on those day/month - numbers. How do I do that I can't seem to find the right functions in the Model Designer who do that. tnx In this release, Report Builder does not provide a way to display a text value for a field (e.g. month name) while sorting on some other value (e.g. month number). There may be a way to get this behavior if you had an actual Date table and corresponding Date entity, although I haven't tried this. ...Show All

  • Visual Studio Express Editions Debugging running very slow

    While working on my program, I run the debug to test it out. It is running very slow. I saw somewhere where VB Express takes up a lot of RAM. My computer has 640 MB of RAM. Is it running slow because it is in debugging mode Because if this is how slow the actual program will run when I release it, I have a big problem on my hands. I don't think I'm doing anything overly complicated. For example, the main screen has 3 buttons. When I click on one of them, it takes several seconds (20 ) just to open a form with a DataGridView. Can anyone tell me if this is normal Thanks. John Hi, How are you doing the debugging Did you check the time taken to load the form Also, have enuff breakpoints to check whic ...Show All

  • SharePoint Products and Technologies Language Pack installer issue

    I have Office SharePoint 2007 installed on Server 2003 and using SQL Server 2005. Also installed is Designer 2007 and all available SDK's. When trying to install InfoPath 2007 and Forms Server 2007 I am getting a error: "The Lanuage Pack of this system is not supported by your system". Although it would seem obvious that I downloaded the incorrent installers, I do not believe this to be the case since I have tried each of them a couple times in addition to having someone else download the installer for me. Anyone heard of this before or have any ideas Thanks, Greg I meant to follow this up sooner but forgot. I found out what the issue was in case anyone else ever comes across it... "s ...Show All

  • Windows Forms text under mouse pointer

    Hi, I want to get text under mouse pointer in C# but I couldn't get . How can i do this Have you got any idea is there any one who can use WM_GETTEXT Windows Api How can i use WM_GETTEXT api can you send a sample about this thank you I've seen some programmes like Babylon dictionary which have such kinda functionality, it is said that those programmes use some dirty tricks such as using undocumented windows kernel APIs to get such kinda functionality. Sheva ...Show All

  • Visual Studio 2008 (Pre-release) Binding to the visual tree of a DataTemplate

    [edit: title changed, to be more descriptive] I have the following DataTemplate, and I'm wanting to bind the contents of my overriden panel to a list of classes that will use the same DataTemplate or one other. <DataTemplate DataType="{x:Type tll:TimelineGroup}"> <Border BorderBrush="Gray" BorderThickness="1"> <StackPanel Orientation="Vertical" Margin="5 5 5 5"> <StackPanel Orientation="Horizontal"> <Rectangle Width="75" Height="20" Stroke="Black" Fill="Aqua" Margin="10 0 10 0" /> <TextBlock Text="{Binding DateAsString}" VerticalAlignment="Center" FontStyle="Italic" FontSize="12" /> <TextBlock Text="{Binding Title}" VerticalAlignment="Center" Margin="10 ...Show All

  • Visual Studio Team System is it possible to run N itrations in unit tests?

    1.is it possible to run N itrations in unit tests and i want to run unit test up to N times for that i want to set itrations in my test .... is it possible to run N itrations in unit tests.............. 2.When i am running the unit scrits its working fine .... when i am trying to add that perticular script into senario and i am trying to run that when it starts runs its giving error like "object variable or with block variable not set"...... what could be the problem .... 3.is it possible to run only constuctor of unit test when we are doing wram up i need to run only constuctor part in unit test when it is wrap up the scenario .............................how it is possible pls let me know ............weather we can do or ...Show All

  • Windows Forms Non-transparent controls on transparent form

    Hello! I have a problem that drives me crazy. I googled for hours now. I have a custom shaped form, e.g. the transparency key of the form is set to, lets say red. On this form I have a user control that implements an image slideshow. Every red pixel in an image appears transparent. How can I tell windows that the transparency key should only be applied to the form, but not to the controls on it The same problem appears when playing video on a custom shaped form. How does the mediaplayer do Thanks in advance! Try using the Form.Region property to set your custom shape instead of using the transparency key. ...Show All

©2008 Software Development Network