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

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

JCube

Member List

Fernando Colosimo
bpeikes
knji
LKeene
Renan Souza
jaggyma
Mark Pitman
averge joe
B. Chernick
Jon Braganza
ReneC
Honza N
akjal
scottmonte
Steven Hawkes
saruna
Xaid
Mike Oleary
ssmorgan
Mr Pro Tools
Only Title

JCube's Q&A profile

  • Visual C++ _tmkDir

    Hi, If I have two seperate threads creating the same directory using _tmkdir, is synchronization required If internally _tmkdir works by checking the existence of a dir and then creating it if it does not exist, then I was wondering about the condition where two invocations of the _tmkdir might conclude that the dir does not exist and might try to create the directory. Can anyone tell me what would happen. Thanks a lot, KarthikR ...Show All

  • Visual C++ noobs r us: need a basic thing to get me started

    i need a basic code or program to learn off and change so i can learn it more. i feel so noob asking this but meh ive got this code from a site: // i/o example #include <iostream> using namespace std; int main () { int i; cout << "Please enter an integer value: " ; cin >> i; cout << "The value you entered is " << i; cout << " and its double is " << i*2 << ".\n" ; return 0; } im using VC++, wht template do i use is there a way to see a realtime look at wht the program looks like ...Show All

  • Visual Studio Express Editions Link errors using iostream in a dll VC++ Express 2005

    If i create a new project using the template for shared libraries, then simpley add the line: #include <iostream> to the .cpp file generated for me by the template so that it looks like: #include "stdafx.h" #include <iostream> #include "CPPTest2.h" I get the following errors: CPPTest2.obj : error LNK2028: unresolved token (0A000027) "public: virtual __thiscall std::logic_error::~logic_error(void)" ( 1logic_error@std@@$$FUAE@XZ) referenced in function "public: __thiscall std::invalid_argument::invalid_argument(class std::invalid_argument const &)" ( 0invalid_argument@std@@$$FQAE@ABV01@@Z) CPPTest2.obj : error LNK2028: unresolved token (0A000029) "public: __thiscall std::logic_er ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Elapsed Timer Inconsistant?

    In working on my game I developed a throttler that runs off of elapsed time to handle problems I was having using keyboard input. Basically update and draw were appearing to detect the keyboard keys multiple times for each keypress (I am using the Input code from the spacewars demo). The problem is about every 4-5 seconds or so the elapsed time apears about double the float value it does every other time. Tracing out the data it seems most changes to the elapsed time run around 0.0125 seconds, with the occasional 0.025 second spikes. I know we are talking fractions of a second here, but the reusult is every once and a while I still get multiple key presses detected, and upping the threshold doesn't help until I move up to 0.5 second ...Show All

  • Visual C# How to Enumerate StringBuilder object with null character as delimiter between strings

    hi all, i have a StringBuilder object with unknown number of strings each string followed by a null character. i am getting the only first string by whatever the parsing technique i used because of null character. any suggetions thanks and regards ranadheer. and the code is to be executed when the window form is loaded. i used the code in the following method private void Form1_Load( object sender, EventArgs e) ...Show All

  • SQL Server Image without code!

    Is it possible to insert a image in SQL Management Studio without use codes Like you search the image with a explorer window, click on it and... done! The short answer is No. Now it might be possible to visit a website that handles images for you -but it will be using SQL Code behind the scenes to SELECT/INSERT images for the browser. ...Show All

  • .NET Development How to create a Web.Config

    Hi, I'm a newbie to ASP.NET, I try to create a new propject in MS Web Development 2005 Express. All I did was just put in a "Hello World" in the Default.aspx.cs file at the Load_Page. I try to load it up to my web page and type in my home page name and this is the error I got: Please help if you can. Thanks Jason Server Error in '/' Application. Hi Computer Guy, Thanks for the reply, I changed the <customErrors> see below: < xml version="1.0" > - <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list ...Show All

  • SQL Server System.IO.FileLoadException: LoadFrom(), LoadFile(), Load(byte[]) and LoadModule() have been disabled by the host.

    Hi all, I use Assembly .LoadFrom("test.dll"); to dynamically load a dll in a SQL CLR pocedure method, but I get this error: System.IO.FileLoadException: LoadFrom(), LoadFile(), Load(byte[]) and LoadModule() have been disabled by the host. Any idea Thanks in advance. As the error says, you can not do it. You are not allowed to load a user assembly from anywhere but the database. Catalog your assembly in the database and call Assembly.Load("asm_name"), and it should work. Niels ...Show All

  • Visual C++ vector::resize causes floating point exception

    Hello, I'm hoping for a reality check here. The following program generates a floating point exception in the vector::resize call. I compiled it under VC 2005 using the command line in the comment below. I've disassembled the executable and found that vector::resize creates a default Point object which is then copied to the new empty elements at the end of the vector. But note that the Point constructor doesn't initialize the x and y members. This means the bits are garbage, and vector::resize will copy the garbage to the new elements. This is no biggie because I don't use the uninitialized elements. However, the problem is that the compiler uses the floating point processor to copy the doubles. Whe ...Show All

  • Visual C# How can I change the volume using C#?

    How can I change the volume using C# Thanks, I want to use a trackbar or buttons (up and down) using QuartzTypeLib(quartz.dll) IMediaPosition, but when ever I try to change the vol., Value is out of range. Is there another way to change the volume other than using the Master Volume You can easily implement your own by inheriting from the TrackBar class and painting it yourself or completely building your own from scratch. Take a look at these two Code Project article on some examples on how it can be done. Also, rather than continuing to ask questions in this thread I would suggest asking new ones in separate threads so that they are visible to others and where you’d like get a faster response because despite activity ...Show All

  • .NET Development Error Removing Assembly

    I have an assembly installed in the gac and used via com by an asp web application. The method called uses a datareader to get a set of values from the db and closes the reader and connection via the CommandBehaviour.CloseConnection. When trying to remove the assembly I get a "Error Removing Assembly" dialog box which says: "There was an error removing YourAssembly". Any ideas why this might be happening are much appreciated. Thanks, Olja No there are no other hints! "Error removing assembly" is the dialogue title and the message says "there was an error removing MyAssemblyName". To recap, the assembly is used via com by an asp application. Some ...Show All

  • .NET Development Socket close problem

    im having problems disconnecting clients from my server, when a client dissconnects I call Socket.Close(); witch I though would close off the connection for this connected socket. the problem is in my read code a Exception is thrown each time a client is disconnected saying you can not access a disposed member of System.Net.Socket here is the code that removes the clients on the server public void dc_user(User sender) { string name = sender.Name; if (sender.is_connected) sender.RemoveClient(); if (client_hash.Contains(name)) { client_hash.Remove(name); } } the RemoveClient void is simple public void RemoveClient() { client.Close(); } any help would be great thanks ...Show All

  • Visual Studio 2008 (Pre-release) Disabling autocomplete for Combobox

    How do you enable or disable Autocomplete for Combobox programmatically Ok found it, we can achieve this by setting IsTextSearchEnabled = false, though I wonder why it wasn't named AutoComplete here. ...Show All

  • SQL Server Where is the config?

    Hi all, I made a custom assembly for SSRS 2005. It works well. I would like to make some things to be configurable via config file. Is it possible How thanks, fs. the good answer is: C:\Program Files\Microsoft SQL Server\MSSQL.x\Reporting Services\ReportServer\web.config write a section into web.config <configuration> .... <appSettings> <add key="ExternalWebServiceURL" value=" http://w3.map.com/DWIntermapService/DWIService.asmx " /> </appSettings> </configuration> ... and read it, by string s = ConfigurationManager .AppSettings[ExternalWebServiceURL]; ...Show All

  • SQL Server SSIS interview questions.

    Could some of the expert(s) list interview questions that might come up when applying for ETL/SSIS developer I or II positions. Thanks LOL... its a joke... There is truth that its likely harder to come from being a pro in DTS and "adjusting" to SSIS than just learning SSIS from scratch without knowledge of DTS. ...Show All

©2008 Software Development Network