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

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

FatAmos

Member List

orent
Leon Mayne
Cedric Girard
Thomas Greenleaf
liujj_xujj
Anarchy
Saitham8
Mahesh kumara
NoEgo
shmulik_segal
jamesIEDOTNET
AjayB
Thomas Frohberg
colecovizion
Jedrzej
Grayson Peddie
Feng26
Karimipour
CSharpCoder
ACushen
Only Title

FatAmos's Q&A profile

  • Software Development for Windows Vista Reading ROM BIOS system clock in VB.NET application

    how to read ROM BIOS system clock in vb.net application. Any idea Thanks, This forum is for questions about Windows Workflow Foundation. One of the VB.NET forums found at http://forums.microsoft.com/MSDN/default.aspx ForumGroupID=10&SiteID=1 would be a better place for your question. ...Show All

  • Visual Basic Packet Sending?

    Hi, I really want to learn how to make a program in visual basic that can send and receive packets to transfer data from one user to another. I don't know where to begin and it would be really helpful if i could see some sort of example of how it is done. Also if you can, i would prefer an example with a remote connection between two computers. Thankyou. I just ran the example on that pg and at this part For Each address In hostEntry.AddressList Dim endPoint As New IPEndPoint(address, port) Dim tempSocket As New Socket(endPoint.AddressFamily, SocketType.Stream, ProtocolType.Tcp) tempSocket.Connect(endPoint) <<<<< here If tempSocket.Connected Then ...Show All

  • SQL Server xml validation date type error

    This is my first attempt to load some XML validated against a schema. The schema is more complicated than this but I've been able to narrow it down to show the problem. After I load the schema and create the table which are successful, I try to perform an insert. The insert fails with the following error. Any help would be appreciated. Msg 6926, Level 16, State 1, Line 1 XML Validation: Invalid simple type value: '2006-08-08'. Location: /*:myReport[1]/*:Criteria[1]/@*:myDate CREATE XML SCHEMA COLLECTION myrpt_xsd AS '< xml version="1.0" encoding="utf-8" > <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs=" http://www.w3.org/2001/XMLS ...Show All

  • Visual Studio Disk space requirements for installation of SP1 for VS2005

    The disk space requirements are listed as 6 GB, my problem being that my C partition is onlly 6 GB in size, with the 40GB disk split into three partitions - C: 6GB containing XP, D: 6GB containing Apps, and E: the rest for personal data. I decided to be optimistic and try install SP1 anyway, and, as expected, it failed due to lack of space - apparently on C: which went down to ~300 MB of free space. Any advice before I go reformatting & repartitioning my drive as reinstalling everything from scratch TIA, Tzal. Oh now I get your question. To move your profile what you need to do is : 1) Logon as another user with Administrator priviledges (since you cannot change profile for currently l ...Show All

  • SQL Server Duplicates

    I am a newbie who did't use T-sql yet. When executed, my Fact_table turns green. But returns a Warning for some Lookups as below Dim_Salesperson, Dim_demographic. [Lookup Salesperson [7405]] Warning: The Lookup transformation encountered duplicate reference key values when caching reference data. The Lookup transformation found duplicate key values when caching metadata in PreExecute. This error occurs in Full Cache mode only. Either remove the duplicate key values, or change the cache mode to PARTIAL or NO_CACHE. How would I delete these duplicates In Dim_tables or Fact_Lookup Distinct doesn't eliminate them. ok .maybe am the one how just isn't understanding this but exactly what are you trying to do Are u executing ...Show All

  • Visual C++ in which order compiler compiles the project files?

    hi everyone , i got a doubt how the compiler ( vc++ only ) compiles the project file . it means this file compiles first and this next like that . or any precedure to compile . bye yln The order of compilation should not matter.  The IDE tends to alphabetize the files, but that's just for tidiness.   Each compilation unit (c/cpp file) does not depend on others in order for them to compile.  Linkage behavior should not depend on the order of obj's given to it. If you're experiencing a problem in building your application, perhaps it would be better to describ ...Show All

  • SQL Server how to get first and last day (as datetimes) from a datetime value?

    Hey, In T-SQL I do this: declare @date datetime set @date = getdate() --get first day of month select dateadd(m, datediff(m, 0, @date), 0) --get last day of month select dateadd(m, datediff(m, 0, dateadd(m, 1, @date)), -1) BUT when I do this is RS: for example the first day of month: =dateadd( "m" , datediff( "m" , 0, Parameters!Date.Value), 0) I get "#Error" displayed in the textbox. Also =datediff("m",0,Parameters!Date.Value) (the expression nested in the dateadd above) displayes the #Error message. So maybe that is the cause of failure for the whole expression. Now my question is ... am I using the functions in RS in a wrong way If not and it is not possible to retrieve t ...Show All

  • Visual Studio Increasing the wait timeout for the VSS2005 Internet Web Service and IDE plug in

    Is there any way to adjust the time out parameters on the server and/or client side when using the Internet provider What's happening is that occassionally the connection between the developer and the server is a very slow one, and the plug in gives up (often at the worst of times), resulting in bindings getting confused. My client has also discovered that the server (Windows 2003) needs to be rebooted about once a week in order to keep the web service speed up. VSS2005 starts running slowly, they reboot the server, it speeds right up. VSS2005 is the only application hosted on the server at the moment. Thanks You can increase the default timeout by changing the following registry key: HKCU\Software\Microsoft\SourceSafe\Timeout ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Vertex Shaders without Pixel Shaders

    Sadly, XNA Beta 2 does not let you use vertex shaders without pixel shaders... If you are targetting GF2, GF4MX or Radeon 7xxx old hardware, here is a workaround: bool [ ] verifiedCanDraw ; fi = device.GetType ( ).GetField ( "_verifiedCanDraw" , BindingFlags.NonPublic | BindingFlags.Instance ); verifiedCanDraw = ( bool [ ] ) ( ( fi.GetValue ( device ) ) ); for ( int i = 0 ; i < verifiedCanDraw.Length ; i++ ) { verifiedCanDraw [ i ] = true; } Will XNA users get a fix for this Even if we removed checking for pixel shaders being set, XNA would not work correctly on cards without pixel shaders. All of our graphics API is based around shaders. Our Sprite ...Show All

  • .NET Development Compiled Regular Expression...setup during runtime...

    If one specifies that the regular expression should be compiled into the assembly, how does that affect a dynamic creation of the expression For example, the areas in red are specific to the string.format where a delimiter defined at runtime that is being inserted. Regex( string.Format ("( <= {0} |^)( :\") ( <Column>[\\w\\.\\- ]*)( :\") ( = {0} |$)", this.Delimiter ), RegexOptions.Singleline | RegexOptions.ExplicitCapture | RegexOptions.Compiled); Since it is generated at runtime...how, or if, does that affect that it will be compiled into the assembly Or am I misunderstanding compiled The documentation says the first time run it will incur a penalty... Specifies that the regular expression is compiled to a ...Show All

  • SQL Server Displaying one user's report to another user

    Strange problem, in a multiuser scenario when one user is trying to access a report through web application, if the same reprot is being accessed by another user then sometimes one user's report is displayed to another user. this is happening intermittantly like 1 case in 15. Thanks in advance. Anand ...Show All

  • Visual Basic Locate mouse position of hovered tabpage

    I'm creating a tabbed browser app where each page is dynamically created and named. I need to use the mousehover event but don't know how to determine which tabpage is in the hover state. VB.NET documentation mentions the MouseEventArgs class but when I try to add a new mousehover delegate, VB will not accept this signiture in place of the required System.EventArgs. Bottom line: the app contains a main form with a 'New Tab' checkbox. If checked and address bar URL is navigated, a new tabpage is dynamically added to the tabcontrol and named "wbTabPage" & << the new tab's index >>. I want to raise the mousehover event whenever this new dynamically created tabpage is hovered. I searched for three days for infor ...Show All

  • Visual Studio 2008 (Pre-release) ADO.NET vNext Entity Designer Problem

    This is quite possibly a stupid question, but because I'm not used to creating an EDM in this manner... I created a new EDM called MyModel, generated it from the database, everything compiles... Here's what I can't figure out - I don't actually have a generated class called MyModel in my app, so does anyone have a quick syntax snippet of how to run a LINQ to Entities query off the designer-modelled EDM called MyModel Thanks! Even worse, now when I attempt to manually add an association set, an association, and a navigation property ... I get an error indicating that the property I'm adding doesn't exist... When I double-click the EDM to launch the designer, all of the code that I wrote in the ssdl, csl, and msl files is completely w ...Show All

  • SQL Server SQL Agent Error: unable to connect to sql server '(local)'. the step failed

    RE: Windows 2000 Enterprise Edition (SP4), SQL Server 2000 Enterprise Edition (SP3), default instance, stand alone server (not clustered or replicated) I have a SQLAgent job that runs weekly to purge data and rebuild the indexes. This job has been failing recently with the following error message: "unable to connect to sql server '(local)'. the step failed". This job is owned by sa and SQL Server is in Mixed mode. Has anyone else received this error If so, what is the cause/solution Any insight you may have with this issue will be greatly appreciated. Thanks. Thanks for your responses. I have found the problem and corrected it. Cause: A few weeks ago the database was renamed and the job was ...Show All

  • .NET Development .NET 2.0 Webbrowser control and XML

    Hi Is there any way i can make the webbrowser read the xml from a xmldocument instead of from a file I create the xmldocument from a webservice and it would be great if i didn't have to save it into a file and then load it using the Navigate method. Best regards Mads Lutzhoft I don't have a link to the stylesheet itself but Oleg Tkachenko's eXml control includes a file defaultss.xslt that will work with the web browser control. Ignore that eXml is an ASP.NET control, you just need that stylesheet included with it to solve your problem, you can then use that stylesheet and .NET's XslCompiledTransform to transform your XML to some HTML with a expandable, pretty printed representation that the web browser con ...Show All

©2008 Software Development Network