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

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

RKN_India

Member List

sciFiFan
BilalShouman
JonH66
Rgranada
narasiman_jayachandran_2b5374
hr0nix
Joe Au
Shawn Wildermuth - MVP (C#)
Damien Liddane
Yusuf Hermanto
BlindCoder
Ludovico
SParker1
langev
Fluxtah
MattyBoy4444
Cammyr
Bluehunter
mshvw
Machie
Only Title

RKN_India's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Cylinder between two vectors

    I have tried rotate this thing on every axis and I still can't get it right. what I am trying to do is draw the single bond between two atoms. Does anyone have an example of the math and steps to do this. I have two atoms in my world and I have the cylinder(bond) in between. I just can't get it to rotate 90 degrees into place.If the cylinder is laying on its Z axis that mean my Z axis is pointing straight up. What am I do wrong If you're referring to the initial DXUT camera, then yes I believe it starts looking at Z+. So the fact that you see your cylinder as a point (should be a circle though) means you should rotate it around X+ by 90 degrees to make it become a line connecting between the two other sph ...Show All

  • .NET Development need help parsing a paragraph bounded by

    i need a regular expression that matches a paragraph bounded by ^XA and ^XZ! sample string to parse: ^XA etc, etc.. ' <--- start of the paragraph ^FO etc, etc... ' line 2 ^FO etc, etc... ' line 3 and so on ^FWB ' Field separator ^FO etc, etc. ^FWN - field terminator ^FO etc, etc ' more fields and then finally... ^XZ ' <-- end of the paragraph ' new line that separates the same pattern above ^XA etc, etc --- --- ^XZ I have tried "\^\D\D.+" but didn't worked! For all those kind people out there, i need to store the match or matches into array! i'm a newbie so if you could provide the code and some explanation, that would ...Show All

  • Visual Studio 2008 (Pre-release) Can CallbackChannel Serialize

    I need to persistence the CallbackChannel when server reboot, and recover it after the server restarted.But I when I try to serialize the CallbackChannel object by BinaryFormatter class, there are some error happened.I want to know,is it possible to serialize a CallbackChannel object If it is, how You can think of the callback channel like you would a proxy/channel you create on the client to consume a service. To persist it, you can't serialize it, but you can save the attributes of the channel and recreate the channel when you need it again. What are the attributes of a channel The endpoint configuration (which is your client endpoint inside the callback channel object, including address and bindi ...Show All

  • SQL Server Here is one more failure that I can not get by . . .

    This error continues to occur even after a couple of uninstalls and re-installs, only to result in the same error.  I can send the logs if you like, but they are large, so this is the short popup I am getting: ( I can't paste the message, but here is the text:     The installer has encountered an unexpected error: The error code is 2331. Error loading library C\program files\microsoft SQL Server ... sqlca.dll or finding entry point.  The specified module could not be found.  Here is a better message out of the event log: Product: Microsoft SQL Server 2005 Notification Services -- Error 2331. The installer has encountered an unexpected error. The error code is 2331. Error loading libra ...Show All

  • Windows Forms Using ActiveX in C#

    Hi, I have created an ActiveX Control some years back, which i wanted to use in my current C# program. I'm able to instantiate it, but unable to use any of its functions, because it is throwing exception, i even checked the GetOCX property, it is also returning null. AxMyActivexCtrl obj = new AxMyActivexCtrl(); obj.Location = ......... obj.Size = ...... obj.Parent = this. try { obj.fun(); //one of the function exported by activex control, but exception is being thrown. } catch( AxHost.InvalidActivexStateException e) {} object temp = obj.GetOCX(); // even temp is null i studied MSDN, i found that this exception is thrown if ActiveX object is not instanstiated and not properly initalised. ...Show All

  • Smart Device Development Display username from phone book to my own application

    Hi,   I am new in using C#. I am write a program for WM 5.0 pockect PC .I would like to display username on to the listbox from phone book to my own application using C#.   Thanks     thanks   I have already download the sdk file but i still an error. there the error: Error 1 Metadata file '..\..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Designtimereferences\Microsoft.WindowsMobile.PocketOutlook.dll' could not be found C:\Documents and Settings\Studadmin\My Documents\Visual Studio 2005\Projects\DeviceApplication8\DeviceApplication8\CSC IncomingCall May i know how to do it   ...Show All

  • Software Development for Windows Vista More vista bugs ? How do you determine if UAC is enabled ?

    Hello, Just testing with Vista RC2 (downloading RTM as I write this) and I would like to know if anyone knows how to correctly determine in a c++ program whether UAC is currently enabled on the machine Also when UAC is turned off, and one is not logged in as an administrator, "RunAs" in ShellExecute() no longer seems to allow the execution of a task as a full admin. This seems to apply to Microsoft's own applications too. Try running the task manager (CTRL+Shift+Esc) on a none admin account, with UAC turned off, and then click on the shielded "Show processes from all users" The task manager restarts itself, and nothing else happens. If the shielded button does not work, then why is it shown A jolly poor show IMHO. Jus ...Show All

  • Visual C++ Asynchronous Sockets in C++?

    Hello, I want to use asynchronous sockets in pure C++. Is there anyone to tell me how to do it or at least show me a basic example The external libraries are appreciated too. Thanks... I dont like MFC because the way it looks its Bugs it seems to me to messy wasting time. Where there is marvelous technolgies like COM and .NET I would prefer to use them alot in my projects. Because they look real OOP. If I have to prevent useage of .NET platform than I would still prefer COM and pure Win32 projects and still not MFC. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Smooth movement

    I did a "game" where a ball bounce around the screen. It's running at 60 fps but it isn't a smooth movement. It's an issue from XNA Framework Beta I am working with SpriteBatch class... How are you doing your movement Are you running in FixedStep What's the TargetElapsedTime As you can see, several things could be the problem. Post some code that illustrates how you are doing your movement and we'll take a look. ...Show All

  • Windows Search Technologies Why does WDS require Terminal Services?

    We have disabled Terminal Services via GPO due to increase security. When trying to install WDS 3.0, I get an error: "Setup has failed. Make sure Terminal Services are enabled before re-running setup." Even after enabling Terminal Services for the install, every reboot requires me to go in and turn Terminal Services back on or the Indexing service will not start. Why is TS required for this Any ideas for getting around this WITHOUT pulling Terminal Services disabled out of the GPO In WDS 3.0 the indexing engine now runs as a service under the SYSTEM account. This allows indexer improvements, like access to the UNC journal for tracking file changes, remote queries and one indexer/catalog f ...Show All

  • Visual Studio 2008 (Pre-release) Sometimes MediaElement plays streams without sound. Bug ?

    I've been using MediaElement to play WMA audio streams. I use only one instance of MediaElement: <MediaElement Name="mediaElement" LoadedBehavior="Manual" Stretch="Uniform" HorizontalAlignment="Left" Width="83" Height="Auto"/> and I access this instance from code so that each time the user chooses a URL here's what I do: mediaElement.Stop(); mediaElement.Source = uri; mediaElement.Play(); Volume is always set at 0.5f and Mute is never set to true. About 1 out of 10 urls plays with no sound. I know it's playing because I not only received the play event but also see that the Position is increasing. This happens independently of the URL. However, I never have the problem ...Show All

  • Visual Studio Express Editions Sending text from VB form to Word

    I am using VB Express and Office XP. I need to send name/address data to Word for label printing. Library article says that I need the XP PIAs first, but the link doesn't work. Eventually found and downloaded them. However, I can't install as all I have in my start menu is "Visual Basic 2005 Express Edition" and cannot open a VS command prompt - see below. To install the Office XP PIAs On a computer with Visual Studio .NET installed and the extracted Office XP PIAs, on the Start menu, click (All) Programs , point to Microsoft Visual Studio .NET , point to Visual Studio .NET Tools , and click Visual Studio .NET Command Prompt . The Visual Studio .NET Command Prompt window appears. This facilitates the use of the .NE ...Show All

  • Visual Basic Queries/Views

    I posted this on SQL Server, but they told me to try this here. Using VBE I went to data/add new query and made my query and learned you couldnt save the query. Why is it there, or am I not doing something right I made a view and learned I cant tie that either I am not very good at SQL statements for querys(But I m learning, I always used Access's query designer) How do you limit a tables entries in a combobox Very Confused Davids Learning Thats good, thats what I am used to, I can handle that interface Eventually I will get where I can write SQL statements - I do look at what the SQL Statement are when completed - I just havent picked it up yet. When I right clicked on the data ...Show All

  • Visual Basic Validating a groupbox

    I have a form with several combo boxes and several groupboxes. Each groupbox contains two radio buttons, a 'yes' and a 'no'. I have written the following code in the groupbox_validating event to ensure that either 'yes' or 'no' is selected: Private Sub gbx_Validating( ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles gbxCracks.Validating, gbxTrim.Validating, gbxScrap.Validating, gbxBurrs.Validating Dim gbx As GroupBox = CType (sender, GroupBox) Dim NoneSelected As Boolean = True For Each c As Control In gbx.Controls If CType (c, RadioButton).Checked Then NoneSelected = False Next If NoneSelected Then Me .ErrorProvider1.SetError(gb ...Show All

  • Visual Basic vb.net 2005 express edition burnt my Motherboard!!!

    my hardware were p4 1 gb ram geforce fx5500 but unfortunately dear vb.net made an excellent job I'll lock this thread a you obviously have zero concept of how windows software and hardware work together. There is absolutely non reason that VB Express or any other piece of reputable windows software would damage a motherboard. I would be absolutely 100% sure of you facts before posting such an accusation and be prepared to back it up with actual evidence. ...Show All

©2008 Software Development Network