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

Software Development Network >> Riyadh Calling's Q&A profile

Riyadh Calling

Member List

benzocab
IanO
Daison
IamWasim
Tryst
RueSam
penninha
SeeMe
please help me
Atulpatel
Son_seph14
Ori'
bcarter00
ShaneShowers
spotl
RTodd
KevinTunis
mcland
rajjon
Jimmy Jam
Only Title

Riyadh Calling's Q&A profile

  • .NET Development Regular expression - date validation in c#

    I am trying to validate a string input of nine characters, such as: 200504031 The first eight character must be a valid date entry, and the nineth (last) character must be between 1-9. Does anyone know how i can implement this Thanks Hi, This would be close "[1-2][0-9][0-9][0-9][0-1][0-9][0-3][0-9][1-9]" but not totally correct as it allow month values above 12 and days above 31 not to speak of months with 28, 29, 30 or 31 days. If you are not totally bound to using a regex, you can use DateTime.TryParse on the first 8 charaters of the string and do a separate check on the 9th character. -- SvenC ...Show All

  • Windows Live Developer Forums MSN Messeger

    Can I make an application using Visual Basic 2005 that can control some functions in MSN messeger 7.5 If yes can you send me the code. I think that I need some dlls to make it happen. Thanks Glenn Zarb When I am typing                 Dim Msgr As New MsgrObjectClass()                       a blue line appears under MsgrObjectClass and it says that this type is not defined. Do I have to do something before this code like a dll or something else Thanks ...Show All

  • Visual Basic Converting VB6 DLL to VBNET

    I have converted a VB6 DDL, used in many Excel and Access applications, and can't use it after conversion. I have compiled using "Register for COM Interop" option and referenced the .TLB file within Access VBA. Access ends when I try to run it. I found that using object browser I can see all the Classes in the DLL. However, I can't see any of the methods of the Classes in the DLL. Can someone help me with it Thanks Thanks for your reply John. They where all marked as Public but I found more related information and had to create Interfaces to make the internal methods visible as a COM module. Working now. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Hi, im new to XNA

    Hey, I just recently found out about Microsoft's XNA program. I have some questions and was hoping someone could answer me. 1. I have a game that I am currently developing on Windows XP, it runs off DX9. Is there any possible way I could port it from the PC to XNA so I could play it on the 360 2. Will it cost money, and if so (which im asuming) how much 3. Will I need a special dev 360 or will I be able to use my off-the-shelf 360 4. If I have to completely re-create my game for XNA since I couldnt port it, Will there be engines I could use or will I be forced to create my own engine, and if so what language can I use 5. Where/when can I download this and start using it 6. What CDs/DVDs do I have to buy to work on the 360 ...Show All

  • SQL Server Help!!!! Restore file mdf after exec "Drop table..." to previous state.

    Hi all. First, sorry about my poor english. I have a database which above 6 gb data and i have droped all table in my database. I try to restore from log file but my database is set to simple backup and auto shrink so log file doesn't help anymore. I have used some software to recovery from log file too but useless. My only hope right now is mdf file. Please help me. How could i restore my mdf file to state before i droped tables. Thanks BTW, the DBCC PAGE command is an undocumented command which means it is not supported by Microsoft (but nobody is stopping you from not using them). Try Googling around for some references on these undocumented commands, stored procedures and functions and you will find a lot of useful ones. ...Show All

  • Visual Basic Date comparisons

    I have an access database that has a column of dates. As I display these records, I want to compare the date in that field to the current date and if it is less than today, I want to alter a seperate label to indicate that the item on the record is expired. I'm having a problem comparing the date in the db to the current date. the data from my db is being displayed in a text box, txtexpirydate. When I try to get the value of that as val(txtexpirydate.text) I get an error. that's even before trying to compare to anything. can someone please point me in the right direction. thanks tattoo get the date/time object from the database then try to do a TryParse to see if it can be converted to a ...Show All

  • Software Development for Windows Vista Missinng flash.ocx in vista rc1.....

    Hello i need help about windows vista rc1 build 5600 ... I tried to install my router's software but the autorun could not run because flash.ocx was missing (installing flash player 8 did not solve the problem) In windows xp/2000 the autorun works properly. What should i do plz help me Hello. The autorun program requires Adobe Flash ActiveX component which is not available in Windows Vista by default. You have probably tried to install Flash Player from other browser than MSIE. Since Adobe doesn't provide direct links to the component's installer, a browser specific version is always downloaded. First of all, try installing the player from this site: http://www.softwarepatch.com/internet/flash.html If this ...Show All

  • Smart Device Development NETCF 2.0 and Desktop COM Interop

    Is there exists any way to communicate with Desktop COM component from NETCF Mobile application via ActiveSync connection Sure. You’d need an application or service running on desktop which would relay data to/from device (e.g. over TCP/IP sockets) to that COM component on desktop. ...Show All

  • SQL Server KPI Trend customization

    Dear All, I have a question about KPI Trends. I have a Time dimension [Project Timeline] which contains [Day Of Project], [Week Of Project], [Month Of Project] and [Quarter Of Project]. Please, take a look on this query WITH MEMBER Measures.PrevCAD AS ( KPIVALUE ("CAD KPI"), [Project Timeline].[Week Of Project]. CurrentMember . PrevMember ) MEMBER Measures.TrendCAD AS CASE WHEN KPIVALUE ("CAD KPI") < Measures.PrevCAD THEN -1 WHEN KPIVALUE ("CAD KPI") > Measures.PrevCAD THEN 1 ELSE 0 END SELECT { Measures.PrevCAD, Measures.TrendCAD, KPIValue ("CAD KPI"), KPIStatus ("CAD KPI") } ON 0, [Project T ...Show All

  • Software Development for Windows Vista "The owner SID on a per-user subscription doesn't exist"

    I'm trying to convert this one AVI (XVID) to DVD using Windows DVD Maker. Every single time (tried it 4 times), I get this error at 99.0%: The owner SID on a per-user subscription doesn't exist What is this error I tried with multiple DVD, and still get this. I'm using an NEC DVD-/+R burner (don't know the exact model). Hi all... I might be jumping the gun here, but i am rather excited... I recently updated my Graphic Card Drivers to the Vista drivers from the ATI site (I have a ATI Radeon 9600). Don't think that i have changed anything else... Last night i tried to copy a different DVD and it worked. So today i am trying the one that did not work in the past and i will let you know tomorrow. Hol ...Show All

  • Visual Studio Express Editions Distance between 2 points

    Hi All, How can I find the distance in terms of pixel or any other value between 2 points i.e. Point1(x, y) and Point 2(x,y) Tks in advance Cheers As in...basic math Learned in school Who'd have thunk that math would actually be useful... ...Show All

  • .NET Development WindowsIdentityMembers.LogonUser() No Documentation

    The subject method appears in sample code for WindowsIdentity.  I cannot find information about the method WindowsIdentityMembers.LogonUser() in Help (i.e. MSDN for Whidby).  The method is a real aid to developers who previously were required to do a P/Invoke to unmanaged code to obtain the token.  See code from sample... // Retrieve the Windows account token for the current user. IntPtr logonToken = WindowsIdentityMembers .LogonUser(); // Constructor implementations. IntPtrConstructor(logonToken); StringConstructor(); IntPtrStringConstructor(logonToken); StringStringConstructor(); IntPtrStringTypeConstructor(logonToken); IntPrtStringTypeBoolConstructor(logonToken); // Property implementations. Use ...Show All

  • SQL Server SharePoint and Reporting Services on 1 box

    I have seen and understand the articles about how to configure one IIS to host both SharePoint and Reporting Services. Isn't it better to have a different machine host the Reporting Services - or am I misunderstanding how RS works. Maybe all the number crunching and data manipulation is handled through the data source connection on that server and RS just displays it on the web That would argue that having them both on the same server isn't too much. But in any case - if I did want them on seperate servers - can I do that Server1 has SharePoint referancing Webpart Reports that reside on Server2 Yes, you can have SharePoint and RS on different boxes. Just make sure to type in the correct URL when using th ...Show All

  • Visual C# Huge memory build-up when we have STAThread in console application

    I have a C# console application. this is pertaining to AD. the purpose of the application is to display the child objects inside a container. the container has around 50000 objects. i get the details of the container using the DirectoryEntry class. the dirEntry.Children gives the details of the children inside the container. the program snippet is as follows. AD_Display.cs with System.DirectoryServices added as a reference namespace AD_Display { Class program { [STAThread] Static void Main(string []args) { DirectoryEntry dirEntry = new DirectoryEntry(“LDAP://localhost/CN=xyz,DC=<domain>,DC=com”); foreach (DirectoryEntry childEntry in dirEntry.Children) { ...Show All

  • SQL Server SQL Server Express and AMD 64 bit dual cores

    Hello All, I've installed SQL Server Express and its Management Studio Express on two different machines with the same hardware. http://msdn.microsoft.com/vstudio/express/sql/download/ Both machines are suffering the same problem. At least once a day, when the user starts a process, it will peg the cpu at 50% (so presumably one core is at 100%) and explorer.exe will hang. If you start another process, it will hang in the same way. Killing explorer and restarting it does not seem to solve the problem. Rebooting seems like the only course of action. I think this is related to SQL Server Express because this did not happen on either machine until it was installed on the machines, and it started happening immediately after installi ...Show All

©2008 Software Development Network