Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
G

gvanto

@gvanto
About
Posts
81
Topics
34
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Please help can't install Sql Management Studio Express
    G gvanto

    Thanks, seems nothing is working. I had Sql Server 2008 Evaluation version installed (not express) and then SQL management studio setup which seemed to install everything only then when I ran sql config manager no instances of the server showed up!!!!!!!!!!!!!!!!!!!!!!! Ok I'll be trying the express version WITH management studio ... 4th time lucky I hope !!!!!!!

    System Admin csharp database help sql-server com

  • Please help can't install Sql Management Studio Express
    G gvanto

    First I installed SQL Server 2008 without too much of a problem. The service is running and all but now I need a way to create db's, run queries, etc, etc. AFter trying to follow this link: http://www.microsoft.com/downloads/details.aspx?FamilyID=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b&displaylang=en#Instructions[^] I installed all the steps then after downloading the 'SQLManagementStudio_x86_ENU.exe' file, when I run it it launches the Sql Server 2008 R2 setup again. OK ... weird !!!!!!! OK so perhaps I need to install an extra feature to an existing version of MSSQLSERVER, but when I get to that stage in the setup process it says No Instance ID (it is rquired) but there's no place to even enter one! [^] I just want to be able to create a db and some tables to test out SQL server with C# .Net - It's now taken me hours with no success so if anyone has tips / advice to get it working would greatly appreciate it !! thx g

    System Admin csharp database help sql-server com

  • Managed Extensions in VS2008 ?
    G gvanto

    thanks Richard with some fiddling got it working! pretty stoked, the possibilities are now endless :-)

    Managed C++/CLI tutorial csharp c++ com help

  • Managed Extensions in VS2008 ?
    G gvanto

    Hi Richard, I'm just after an example of how to do it. Came across this: Managing the Unmanaged Code[^] In VS2008, what project do I need to create to get started in this? Cheers gvanto

    Managed C++/CLI tutorial csharp c++ com help

  • Managed Extensions in VS2008 ?
    G gvanto

    I have a class in C++ (unmanaged) which I would like to place a wrapper around in managed (visual) C++ in order to create a dll which I can use in C# applications as a class library. I'm having quite a bit of trouble getting this to work by following MSDN's article here: http://msdn.microsoft.com/en-us/library/aa712961%28VS.71%29.aspx[^] and was wondering if this is even possible in VS2008? If there's a tutorial showing how to do this I'd be greatly interested in seeing it. Thanks for any help / advice Gvanto

    Managed C++/CLI tutorial csharp c++ com help

  • My VB6 sucks - what is this? Array("hello")
    G gvanto

    My VB really sucks, after googling, I still can't find what Array("UserCode") is in the following line:

    vUsers = m_ObjUser.Retrieve(Array("UserCode"), -1)

    Help much appreciated thanks!

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    Visual Basic question com data-structures help

  • C1FlexGrid column ordering
    G gvanto

    cheers yeah i dont have issue with databinding generally and think its quite a cool concept (saving time and ensuring robustness). what i do have a problem with is when the order of columns are randomly shuffled for no reason!!!!!! :-)

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    C# help css wpf wcf com

  • C1FlexGrid column ordering
    G gvanto

    I have a C1FlexGrid component, to which I am binding a datasource, the following: A collection of 'View' type objects (code below) which expose their properties for viewing by the grid. The problem is the ordering of the columns of the C1FlexGrid component. I manually set them to be Number, Attach, Detach, but as soon as a DataSource is set, the column order for some reason changes to Attach, Number, Detach. Is there a way to forcefully set the columns to appear in a certain order once a datasource has been set? I was thinking perhaps there's an attribute (component model) to specify with each property but hours of googling and searching MS help has produced nothing! Any help would be much appreciated! g class TrancheView { private uint number; //... other private vars public TrancheView(BespokeTranche _tranche, uint _number) { this.tranche = _tranche; tranche.TrancheNumber = _number; this.number = _number; } public uint Number { //get { return this.number; } get { return tranche.TrancheNumber; } } public decimal Attach { get { return tranche.Attach; } set { log.Info("setting Attach value"); tranche.Attach = value; } } public decimal Detach { get { return tranche.Detach; } set { log.Info("setting Detach value"); tranche.Detach = value; } } }

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    C# help css wpf wcf com

  • Accessing Excel cell which made call to C# dll ...
    G gvanto

    Ok I see, makes sense yeah thank you G

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    C# csharp com tutorial question announcement

  • Accessing Excel cell which made call to C# dll ...
    G gvanto

    Why do you think its 'logical' to have the looping in the excel sheet? (to me its more logical to have the dll doing the 'updating' ... leaving the sheet user to not worry about constantly refreshing it. I'm just thinking about all the dll's out there that keep cell data updated dynamically (bloomberg API for example) ... ? Therefore I think it must defo be possible help much appreciated, g

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    C# csharp com tutorial question announcement

  • Accessing Excel cell which made call to C# dll ...
    G gvanto

    I am trying to figure out if there's a way I can keep an Excel cell updated as follows: I have created a C# dll, with a function: double pf2GetPrice(string ticker) which returns the price of a ticker, when calling this function in a cell in Excel - it works nicely. To keep the cell value current, I'd like to loop within the dll and update the calling cell's value. Can this be done? (i'm guessing it must be possible) I've only come across this so far, but its not a very good tutorial: http://msdn.microsoft.com/en-us/library/bb687861.aspx[^] Any advice would be much appreciated, G C# dll newbie

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    C# csharp com tutorial question announcement

  • Problem calling C++ DLL from Excel
    G gvanto

    PS: I dont have admin rights on this machine else I'd give the VS2008 redistro stuff a go, sure sounds like it could work ...

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    C / C++ / MFC help php c++ com tutorial

  • Problem calling C++ DLL from Excel
    G gvanto

    Hmmm that was a bit schoolboy of me not to spot that error, thanks Garth! I've actually just built the same functionality in a C# dll, works like a bomb! Now I have a little design problem: I'd like the function I call in the dll to KEEP a cell dynamically updated (it fetches a security's price from a local db). Two options: 1) Loop within excel and keep calling the dll function (which queries the db and returns the result) 2) Loop within the dll and *somehow* keep the value of the cell WHICH CALLED IT, up to date. (this is how bloomberg's API functions to keep excel cells dynamically updated, very nifty ! I'm thinking that efficiency-wise, 2) would be better (something tells me that having 200 cells repetitively calling a function will cause Excel to hang ... is my hunch correct?) Best, G

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    C / C++ / MFC help php c++ com tutorial

  • Problem calling C++ DLL from Excel
    G gvanto

    No I didn't see that ? This is such a weird problem. Don't get why it would work for everyone else but not for me ...

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    C / C++ / MFC help php c++ com tutorial

  • Problem calling C++ DLL from Excel
    G gvanto

    Sorry but I don't know which forum is best for this one ( ? )

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    C / C++ / MFC help php c++ com tutorial

  • Problem calling C++ DLL from Excel
    G gvanto

    I am trying to access a c++ created DLL from within Excel, with semi-success only: I've followed the following tutorial EXACTLY: http://newtonexcelbach.wordpress.com...ng-excel-to-c/ Now, when I try and use the dll-functions that I've declared in the VB code, the function GetPrice(), which takes no arguments and simply returns a number, works fine. However, as soon as I create a dll-function which takes input arguments, I get a #VALUE error in the cell in Excel ("A value used in formula is of the wrong data type" ). I've downloaded the complete sample from the URL above and get the same error when running it (after recalculating the formulas). I've created a test 'proxy' function (in which the code can be stepped through, which calls the dll function) to ensure that values sent to the dll function are indeed of type double and that seems to be the case ... This guy seems to have had the same problem, however no solution was posted: http://www.ozgrid.com/forum/showthread.php?t=54245[^] Any help / tips would be greatly appreciated! g excell dll newbie

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    Managed C++/CLI help php c++ com tutorial

  • Problem calling C++ DLL from Excel
    G gvanto

    I am trying to access a c++ created DLL from within Excel, with semi-success only: I've followed the following tutorial EXACTLY: http://newtonexcelbach.wordpress.com...ng-excel-to-c/ Now, when I try and use the dll-functions that I've declared in the VB code, the function GetPrice(), which takes no arguments and simply returns a number, works fine. However, as soon as I create a dll-function which takes input arguments, I get a #VALUE error in the cell in Excel ("A value used in formula is of the wrong data type" ). I've downloaded the complete sample from the URL above and get the same error when running it (after recalculating the formulas). I've created a test 'proxy' function (in which the code can be stepped through, which calls the dll function) to ensure that values sent to the dll function are indeed of type double and that seems to be the case ... This guy seems to have had the same problem, however no solution was posted: http://www.ozgrid.com/forum/showthread.php?t=54245[^] Any help / tips would be greatly appreciated! g excell dll newbie

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    C / C++ / MFC help php c++ com tutorial

  • Problem calling C++ DLL from Excel
    G gvanto

    I am trying to access a c++ created DLL from within Excel, with semi-success only: I've followed the following tutorial EXACTLY: http://newtonexcelbach.wordpress.com...ng-excel-to-c/ Now, when I try and use the dll-functions that I've declared in the VB code, the function GetPrice(), which takes no arguments and simply returns a number, works fine. However, as soon as I create a dll-function which takes input arguments, I get a #VALUE error in the cell in Excel ("A value used in formula is of the wrong data type" ). I've downloaded the complete sample from the URL above and get the same error when running it (after recalculating the formulas). I've created a test 'proxy' function (in which the code can be stepped through, which calls the dll function) to ensure that values sent to the dll function are indeed of type double and that seems to be the case ... This guy seems to have had the same problem, however no solution was posted: http://www.ozgrid.com/forum/showthread.php?t=54245[^] Any help / tips would be greatly appreciated! g excell dll newbie

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    COM help php c++ com tutorial

  • Detecting Server (Socket) Disconnect?
    G gvanto

    Thanks alot, think the recv() == 0 should do the trick. I've set it up to be reconnecting every somany seconds, when it does it keeps listening. Many thanks again guys, onto threads now! :-) (multiple clientsockets within class)

    Find Your Dream Job in Australia, Free! http://www.WebCV.com.au

    C / C++ / MFC workspace html com sysadmin debugging

  • Detecting Server (Socket) Disconnect?
    G gvanto

    After following the great tutorial on here: http://tldp.org/LDP/LG/issue74/tougher.html[^] sources in folder here: http://www.sharedigest.com/SocketClientServer.zip[^] I've managed to get the client and server talking to each other. This is for an setup whereby data will be transmitted to my client via telnet from a remote server, and, according to them, I need to configure the client in such a way that it checks if the server dies and automatically attempts to reconnect after some (pre-specified) time period. Currently, when I kill the server, I get ALOT of '' received by the client, continuously ... (output shown below, main routine shown below output) I was wondering if there's a way to detect that the connection from the server's been lost, and consequently attempt to reconnect and keep listening for incoming messages? Help much appreciated! gvanto socket newbie Server: pacific@mainbox:~/workspace/SocketClientServer/Debug$ ./SocketClientServer 0 starting server ... Hello server from client. Please enter string to send: hello back to client Please enter string to send: another message Please enter string to send: one more Please enter string to send: //here i kill the server using ctrl+c Client: pacific@mainbox:~/workspace/SocketClientServer/Debug$ ./SocketClientServer 1 starting client ... Sending hello server msg ... Listening ... We received this response from the server: "hello back to client" Listening ... We received this response from the server: "another message" Listening ... We received this response from the server: "one more" Listening ... We received this response from the server: //AFter server killed, FLOOD of incoming BLANK messages received by client "" Listening ... We received this response from the server: "" Listening ... We received this response from the server: "" Listening ... We received this response from the server: "" Listening ... We received this response from the server: "" Listening ... We received this response from the server: "" Listening ... We received this response from the server: "" Listening ... We received this response from the server: "" Listening ... We received this respons

    C / C++ / MFC workspace html com sysadmin debugging
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups