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

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

danacton

Member List

jbhatia
Christopher Bernholt
ChitownDotNet
jonathannah
tsfreaks
Grojas1980
Xadja
LPastor
stallion_alpa
talraviv
Speedie
Bill Poole
Ben Weber
JosepMola
Darrell Davis
Lars E.Nes
DarrellMerryweather
Grant21763
Mark Beiley
Toby Broom
Only Title

danacton's Q&A profile

  • Visual Studio 2008 (Pre-release) ClipProperty Animation

    There is a textblock named "t1" control on window, i clip it to hide some text. When the mouse enter the textblock,i wan to show all the text, so i write some code behind: public Window1() { InitializeComponent(); t1.Clip = new RectangleGeometry(new Rect(0, 0, 50, 13.6)); RectAnimation ra = new RectAnimation(); ra.From = ((RectangleGeometry)t1.Clip).Rect; ra.To = new Rect(0, 0, t1.Text.Length * 12, 13.7); ra.Duration = new Duration(TimeSpan.FromSeconds(3)); Storyboard sb = new Storyboard(); sb.Children.Add(ra); Storyboard.SetTargetProperty(ra, new PropertyPath(RectangleGeometry.RectProperty)); t1.MouseEnter+=delegate(object sender, Mou ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XACT Audio / Minor Rant

    <minor-rant> Can you please, *please* consider supporting a more low level way to play sounds than XACT. The Microsoft Cross Platform Audio Creation Tool (XACT) is a pain to use. I mean seriously how many devs do you have budget for to maintain this so called "IDE" It might be okay for professional game studios but I don't think it's that simple for the XNA GS crowd. Then again having looked in the XACT forum it doesn't look like a lot of professional studios are using it either. So then you have to ask why are we having it forced on us since this audio content creation tool has so far fallen on deaf ears ;). Perhaps it's a secret plot to get the XACT folk to make it better in future perhaps (hmm bite my tongue) A ...Show All

  • Visual Studio 2008 (Pre-release) culture of IValueConverter.Convert method

    With XP-SP2 of a Japanese environment. NetFramework 3.0 RC1 is used. .NetFramework 3.0 installed LanguagePack with Jpn. Culture that comes to the Convert method becomes en-US though IValueConverter is succeeded to and the converter was made. Why that culture doesn't become ja-JP this. How is culture decided ...Show All

  • Visual Basic Prevent Recursive Event

    I was wondering if there is an prefered way to prevent an event from calling itself. I have a combo box that user can edit but if there is an error on the form it will ask if the user really wants to continue. If they do not I want to change the value of the combo box back to the value before the user changed it. When I do this the event fires again. Currently here is my example: Dim blnContinue As Boolean = True ' Check that the current record does not have errors or changes. If so ask user what to do. If RecordChanging() = True Then ' the user wans to continue, check if they are continuing with a save. If Me.NeedToSaveData = True Then If Me.Save = False Then 'Save the current record and check if there were any problems ...Show All

  • Visual Studio Express Editions Database Calls

    I am working with the API of another software company and I am at the point where I am able to click on something from there activex control and send something to VB saying what I clicked on...I am just assigning the text in a textbox for testing purposes. I would like to use this text to search a new database I am making and when it finds its be able to bind all the data that is on that row on the screen when this object is clicked. Any ideas on the best way to do this Thanks The table name is "Equiptment" It has "id" - int, "equiptmentid" - string, "data1" - varchar(max) MODELNAME.text is a text box. I got the API to dumb a unique value into that text box that will match up with the "eq ...Show All

  • Visual C# Delegate a function from a native code to C#

    Hi, One of my DLL ( which is native code) I am using in my project contains a function which calls a function in its parameter. [ DllImport ( "C:\\PCI-Dask.dll" )] private static extern AI_EventCallBack( int CardNumber, int mode, int EvewntType, int callbackAddr) How should I declare the DLL function and use it Thanks a lots for your answers... Crazy68aseric wrote: But I am quite lost in deleagtes types. You declare them with the delegate keyword, something like this delegate void Foo( int param1, string param2 ); Crazy68aseric wrote: Should I simply put IntPtr Callbackaddr as the parameter of the function Where do I say that it is a delegate t ...Show All

  • Visual Studio Problem After Migration From VS2003 To VS2005 ... Report dosent see the Passing Values

    Hi All I Have aSerious Problem with Crystal Report in Visual Studio 2005 I Developed aProject with Visual Studio 2003 , and i have aFull reporting system in the Project Made By Crystal Report 9.0 .. More than 50 Report the Problem Occurred After Converting to Visual Studio 2005 My Problem Is >> the Report dosent Pass the Values which i send in Code Report ReportObj = new Report(); ReportObj.setParameterValue("ParameterName",Value); it pass the code and it didnt Give me any exception. i dont know it is couse of Different Version of Crystal Report or whats happened if i Miss anything , So Plz draw my attention to it thnx for ur Time I wonder if there is some other problem that is actually happening ...Show All

  • Visual C++ error LNK2005: __mbctype already defined

    I'm moving an older project from VC6 to VC8 and I have it compiling. I've encountered some linking issues. I researched the problem and was able to resolve a few of the errors however I cannot resolve the link error __mbctype. See the following text dump from the linker. Linking... Searching libraries Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\Nafxcwd.lib: Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\Libcmtd.lib: Libcmtd.lib(mbctype.obj) : error LNK2005: __mbctype already defined in mbctype.obj Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib: Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib: Searching C:\Program Fil ...Show All

  • SharePoint Products and Technologies WSS3 cannot be crawled

    I'm getting this error on the server of WSS 3.0 The start address <sts3://ebs-sharepoint/contentdbid={d901caff-7863-40aa-8460-c3ef9132cb89}> cannot be crawled. Context: Application 'Search index file on the search server', Catalog 'Search' Details: Access is denied. Check that the Default Content Access Account has access to this content, or add a crawl rule to crawl this content. (0x80041205) The WSS 3.0 is configured to use Kerberos and both the WSS Search and Timer service is running under a domain account. Any help. Thanks. Jason Hi I fixed the problem on my server The problem is that we use a FQDN and also running the search service on the frontend server Have a look on th ...Show All

  • Visual Basic Dynamic Memory Allocation in Visual Basic

    I am new to Visual Basic, but have had some training in C++. I was working on a program in Visual Basic 2005 where I need to allocate memory to an array dynamically. The array is to be of type ButtonRow, (which is a class I've created for this program). I want the size of this array to equal the total number of rows in a given table. I can figure out how many rows are in the given table, and store that value in a variable (MaxRows). I need to dynamically allocate the ButtonRow array with the size of MaxRows. How do I do that in visual basic Is there a Visual Basic equivalent of the calloc and malloc commands Also, just to give you guys a complete picture, the ButtonRow array is to be a universal array available to all subs within the gi ...Show All

  • Visual C++ summing elements of a vector(class) with class elements

    Hi, I'm using Visual Studio 2005 and trying to use "accumulate" function in order to sum elements of type vector class. However, the elements of the vector in question have are objects, namely: class bond { public: double strength, prob; bond() : strength(0), prob(0) {} bond(double x, double y) : strength(x), prob(y) {} }; void main() { vector<bond> bond_array(N); // N: very large double sum_total //say the elements of vector bond_array are full with values ... sum_total=accumulate(bond_array.begin(), bond_array.end(), 0); //This command is incomplete, see the question. ... } What I'm trying to accumulate is actually ".prob" of all elements of type bond in vector, and the parameter sum_total will be assigne ...Show All

  • SQL Server SQL 2005 Configuration Manager permissions

    I can't seem to find the documentation on how to delegate control for SQL server configuration Manger 2005. I have DBA that need access to the tool from a remote machine without admin access on the boxes. Does anyone know how to delegated control and what permissions are needed to set up remote access for my DBA to user the 2005 configuration manager The only article that I was able to find is the following on WMI http://msdn2.microsoft.com/en-us/library/ms188690.aspx . Any help is greatly appreciated. Configuration tools is a DBA task and by default that DBA must have SA privilege & server admin on SQLSErver, as far as Windows permissions are concerned the normal user privil ...Show All

  • SQL Server Date Ranges in KPI Value Expression

    How do I enter a date range for a KPI in the Value Expression This simple expression will get me a count for 2006 but how do I get a count of 2005 and 2006 combined ([Measures].[TOTAL AMT], [Incident Status].[Incident Status].&[1], [Start Date].[Year - Quarter - Month - Date].[Year].[Calendar 2006]) Thanks Assuming that [Measures].[TOTAL AMT] is a regular cube measure: Aggregate({[Incident Status].[Incident Status].&[1]} * {[Start Date].[Year - Quarter - Month - Date].[Year].[Calendar 2005] : [Start Date].[Year - Quarter - Month - Date].[Year].[Calendar 2006]}, [Measures].[TOTAL AMT]) ...Show All

  • Windows Forms I need some help...

    Can someone tell me what's wrong with this code.Give's me the following error: "Cannot implicitly convert type 'object' to 'System.Windows.Forms.Form'. An explicit conversion exists (are you missing a cast )" Hashtable ht = new Hashtable(); private void button1_Click(object sender, EventArgs e) { childForm = new childForm(); childForm.MdiParent = this; childForm.Text = "form number " + childCounter.ToString(); childForm.Name = "Child" + childForm; childForm.Dock = DockStyle.None; childForm.Show(); childCounter++; locationY += label1.Height + 5; newChildButton = new Button(); newChildButton.Text = childCounter.ToString(); newChil ...Show All

  • SQL Server sorting problem

    Hello there SQL experts - I'm not sure if this is a T-SQL problem but I thought you guys would be able to at least point me in the right direction. SELECT gen."loan_num", gen."borrow_ln", gen."loan_amt", doc."drawn", doc."returned", brokers."dba" FROM { oj ("DMD_Data"."dbo"."gen" gen INNER JOIN "DMD_Data"."dbo"."brokers" brokers ON gen."brokers_id" = brokers."brokers_id" AND gen."site_id" = brokers."site_id" AND gen."branch_type" = brokers."branch_type") INNER JOIN "DMD_Data"."dbo"."doc" doc ON gen." ...Show All

©2008 Software Development Network