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

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

Alex_Petrovic

Member List

Anders Granåker
cgwaters
Dwayne J. Baldwin
Kevin Hoffman
herenvardo
Nelis Bijl
kmote
UnknownScripter
georgeob
Steve Graber
Shawnmcf
bhmsaad
JamaSaru
pst_grant
Charles Aryee
Julien Couvreur
markgoldin
jcsam
jsedlak
pgmdsg
Only Title

Alex_Petrovic's Q&A profile

  • SQL Server ACCESS2SQLSERVEREXPRESS

    Hello, First of all, please excuse my english... I'm french :-D Can someone give me a way to convert an Access2 DB to a SQL Server 2005 Express Is it possible Thanks, There is tool from Microsoft to convert Access Database into SQL Server 2005 database. I have no link for it. You can search it from Microsoft's website. ...Show All

  • Visual C++ Templates overloades and specializations

    I want to create a function that returns the absolute value of a number. This number could be real (int, double, etc) or complex (of real, double, etc). I currently have the following: //--------------------------------------------------------------------- template<class data_t> data_t myAbs(data_t x) { return ((x > 0) (x):(-x)); } //--------------------------------------------------------------------- template<class data_t> data_t myAbs<complex<data_t> >(complex<data_t> x) { return (sqrt(x.real() * x.real() + x.imag() * x.imag())); } //--------------------------------------------------------------------- This compiles. However, when I call the function with a complex argument, the first function is c ...Show All

  • SQL Server cross server update problem

    The system has worked for two years. SQL Server 2000 runs on Windows 2000 Server “A”. Another instance of SQL Server 2000 was moved from Windows 2000 Server “B” old to Windows 2003 Server “B” new, by restoring a backed up copy from old to new. The system has cross server updates, where Server “A” is updating records in very large tables on Server “B”. After the move from Server “B” old to Server “B” new, suddenly the cross server updates fail, but only when they are conducted within a Begin and Commit Transaction batch. The system works when I remove the Begin and Commit Transaction, and no longer have them run in a batch. Also, I had a cross server update, having “A” update records in “B” ...Show All

  • Visual C++ can not regsvr32 my DLLS

    Hi all, I had created a DLL on my machine. But I need to move it to another machine and call the regsvr32 on the DLL. But an error was prompted. It says: LoadLibrary("filename.dll") failed - The specified module could not be found. I called regsvr32 in the right path. Then I call that regsvr32 in my machine again and an error prompted and say: filename.dll was loaded, but the DLLRegisterServer entry point was not found. File can not be registered. Please help. Thanks Lewis oh I checked using depend.exe and found out that the DLL uses MSCVR80 but the target system, which does not have visual studio installed, uses MSCVR71 (default in windows) only. I wonder if I can chang ...Show All

  • Visual Studio 2008 (Pre-release) how to determine the center of geometrical shape

    I have some geometrical shapes. I need to konw the center of the shape to rotate it round it's center. so.... how to do Is the an arithmetic For irregular poligons the geometrical center can be calculated with this simple formula; C = S(x)/n where C is the center, S(x) is the vectorial sum of all x points defining the poligon and n is the number of points. In a 2D coordinate system this will look like (x,y) = [(x1,y1) + (x2,y2) + .. + (xN,yN)]/n => => x = (x1 + x2 + .... + xN)/n y = (y1 + y2 + ... + yN)/n For non poligon shapes (eg. circles, elipses) use specific formulas for each case depending on you shape definition (focal points etc.). For courved shapes defined by a linear function the generic formula is an integral ecu ...Show All

  • .NET Development Using soap with tcp

    Hi, I have a windows service that is currently using tcp format headers and I want to change it to use soap. I've read that soap formatters can be used with tcp but I have not been able to find an example. Here is the code I have in the on start of my service: BinaryServerFormatterSinkProvider serverProv = new BinaryServerFormatterSinkProvider(); serverProv.TypeFilterLevel = System.Runtime.Serialization.Formatters.TypeFilterLevel.Full; BinaryClientFormatterSinkProvider clientProv = new BinaryClientFormatterSinkProvider(); IDictionary props = new Hashtable(); props["port"] = 32460; TcpChannel chan = new TcpChannel(props, clientProv, serverProv); ChannelServices.RegisterChannel( chan ); / ...Show All

  • Smart Device Development Required DLL file are not found

    Hi All: My current .net CF 2.0 application only reference on the .NET DLL files that are in the same directory where the application installed on the device. If I do not put those .NET DLL files in that directory, even .net CF 2.0 runtime is installed on my PDA, when the application, it will throw the error as required DLL file are not found. Moreover I already installed the System_SR_ENU_wm.cab on my device, but my try and catch stamens, I still got the error as optional DLL file is not found, can not display the error message. Please help. Thanks What assemblies are these Are they dlls you built yourself or ones that come with the .Net Compact Framework If the latter, you should check t ...Show All

  • .NET Development Problem with a configuration file

    Hello, I have this configuration file: < xml version="1.0" encoding="utf-8" > <configuration> <configSections> <sectionGroup name="publishers"> <section name="publisher" type="System.Configuration.NameValueSectionHandler, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" allowDefinition="Everywhere" /> </sectionGroup> </configSections> <publishers> <publisher name="HotWired"> <add key="regEx" value="^http://hotwired\\.goo\\.ne\\.jp" /> <add key="pathDestinationFile" value=&quo ...Show All

  • Windows Forms Help Creating Bold Text...

    Ok, the problem I'm having is thet when I select my text and click my BoldButton, no matter what my selected text font or text size is set to, it reverts it back to 'Microsoft Sans Serif, 8.25 pt' Here is my code: If (Color.op_Inequality( Me .BackColor, SystemColors.ControlDark)) Then Me .BackColor = SystemColors.ControlDark End If If Not ( Me .Font.Bold) Then Me .Font = New Font( Me .Font, FontStyle.Bold) RichTextBox1.SelectionFont = Me .Font Else Me .Font = New Font( Me .Font, FontStyle.Regular) RichTextBox1.SelectionFont = Me .Font End If RichTextBox1.Focus() I know it has to be a simple fix...........Thanks for your reply. Ok, works ...Show All

  • Windows Forms Warning in the .net 2005 designer

    Hi I am developing a win form application. my FormMain looks like the following() public FormMain() { m_Console = CreateConsole(); if (m_Console != null ) { InitializeComponent(); } the CreateConsole() method creates an instance of a class and returns the reference to it to m_Console in the InitializeComponent() method i signed the controls to get events. the call back functions i put there are call back function that are in the class that m_Console is referencing. for instance, this .ultraToolbarsManager1.ToolValueChanged += new Infragistics.Win.UltraWinToolbars. ToolEventHandler ( this .m_Console.Combo_ToolValueChanged); the code compiles and runs perfectly well. the problem is ...Show All

  • SQL Server Need your suggestion /Advise

    Hi guys, I would like to be advised from experts on one career related question. I have 5 + years of Experience as a DEV and Test. I had mostly worked on VB6, .NET 1.1[ asp.net ,C#] for 3 years as DEV and since 2 years i am into Software System testing [ its more related to Functionality Testing of applications built using .NET [ asp.net/c#, Sql server 2005 ]. I would like to switch the career to Core Development again and would like to seek experts's adivice.. Iam interested in learning SQL Server 2005 advanced features[ BI]: Could you pls suggest me one area in SQL server 2005 from below[ parameters:I should be able to learn it quickly on my own,great demand in the market , great scope for development in near fure etc., ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Why use shaders?

    This is probably a stupid question, but I'm going to ask it anyway. I've been programming computers for almost 20 years, so I'm not new to this, but I am new to 3d game programming. I downloaded RenderMonkey, and Nvidia FX Composer, and I see that really cool effects can be made with shaders...but the gap in my knowledge is...why, and when. I see that ATI has a shader demo where they take a flat disc and mod it into a speaker shape and then make it pulse like a real speaker using shaders. So...here's the question...is it more processor-friendly to make a flat disc and then shader it to the shape I need than to make model in the right shape in the first place In their demo, they take a flat disc and "shader" it to a speaker shape ...Show All

  • Visual Basic Single Instance Windows Forms Applications

    I've searched the net for awhile and couldn't find a solution. Let's take Photoshop as an example. It runs in single instance mode and any new image opened by user is handled by the single instance. That is, the single instance has the address of the new image as an argument. I wanted to implement this concept with Mutex but coudn't find a way to pass the address of the new document. Any help in C# or VB.NET is appreciated! Note that GetProcessesByName() , like all of the other GetProcessXXX() methods requires elevated permissions that do not generally exist under non-administrative accounts. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Render to Texture Inside Shader?

    I'm sorry if this is a stupid or obvious question, but I am completely new to shaders. Is it possible to render to a texture inside of a shader For example I want to render to a texture in the first pass and then use that texture in the second pass. I am currently using XNA's render to a texture successfully. However I was wondering if it was possible to implement it inside of a shader, because I feel it would be faster, not to mention make the XNA code simpler. My gut feeling is that it is not possible, however I am kind of confused by RenderMonkey. It uses Render Targets which appear to do what I want. However, I think it may just be doing some DirectX render to a texture operations in the background. Y ...Show All

  • Visual Studio devenv /upgrade VS 2003 to VS 2005

    Hi all, I am currently trying to convert a number of VS 2003 solutions (under source control), to VS 2005. I have completed conversions successfully using the Conversion Wizard within VS 2005, in which the projects are automatically checked out of SourceSafe and converted. However when using the command line tool devenv with the /upgrade switch the same conversions fail, and it seems this is because the project files are not being checked out of SourceSafe, and so cannot be saved. Has anyone else run into the same problem, or can offer any advice on the situation. We want to use the command line tool in a batch script, as there are many solutions/projects which need converting. Adam, There is no ...Show All

©2008 Software Development Network