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

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

Dotnetjunky

Member List

DOSrelic
tichy291574
Garyngl
RiotAct
Kevin Jacobson
davidboothe
CLOlds
cssjm
Grzegorz Patynek
Olavo
KBV_RBJ
Kolf
TarPista
Cory E
DarkFire2
vectorg
agentf1
JimJalinsky
JohnWP
Lorenzo Soncini9198
Only Title

Dotnetjunky's Q&A profile

  • SQL Server append current date to file name

    Is there an easy way to append the current date to a file when using a flat file destination Easy when you know how Hopefully this post will give you some pointers: Dynamically set a logfile name ( http://blogs.conchango.com/jamiethomson/archive/2006/10/05/SSIS-Nugget_3A00_-Dynamically-set-a-logfile-name.aspx ) -Jamie ...Show All

  • Software Development for Windows Vista Screenshots are very fugly???

    Howdy all, I am trying to get some screenshots of an applicaiton I wrote running in Vista with Aero switched on... the only problem is that the shots turn out to be all greyscaled and have what looks to be vertical resolution lines running down them... I tried a number of applications to grab the shots, and the old print screen... no luck yet Video card is a PCI-Express NVidia GeForce 6200 (256Mb) 4Gb Ram Dual Core 3Ghz Intel. Build 5384 The other thing I cant work out is how to turn aero off Cheers for any help. I have updated the driver from NVidia website (Vista specific X86) and applied the UART updates for NVidia from the Windows Updates, via Windows Ultimate Extras. This has not made any d ...Show All

  • Visual Studio 2008 (Pre-release) CPU throttles when binding listener to MSMQ private queue

    Hi, I'm in the process of trying to get a test MSMQ listener setup to receive messages from a test client. If I create the queue manually through the MMC snap-in, the client is able to deliver messages to the queue successfully. However, whenever I attempt to start the queue listener console application [in debug mode or double-clicking the app], CPU usage spikes at 100% [evenly split when running in debug mode between the app and devenv.exe]. The console app appears to have the appropriate endpoints exposed, but it just sits there without actually processing any of the messages that are in the queue. If I remove the queue, and start the client, it cannot deliver messages to the queue, stating that the queue does not exist, and t ...Show All

  • Visual C++ extern "C" with a struct

    Good Morning I'm trying to compile a project that is a mix of C/C++ code. It compiles fine but fails on linking as one of the C++ file can't resolve the global variables from the C code. So I ' extern "C" ' all of the global variables and that works, except I have a question: how do you extern a pointer to a struct I tried: extern "C" struct myStruct *struct; and I get about 80 errors, saying I'm missing semicolons and brackets and stuff. Any ideas Thanks, Philski extern "C" in this form can only be used with functions. For example: extern "C" void my_C_function(); You need to use the block form: extern "C" { struct MyStruct *struct; } ...Show All

  • SQL Server Error in execute sql task

    I get the following error when trying to execute an sql statement in oracle and returning the results into an object variable with the execute sql task. Error: 0xC002F210 at Execute SQL Task, Execute SQL Task: Executing the query "select <columnlist> from <tablename>" failed with the following error: "The SelectCommand property has not been initialized before calling 'Fill'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. It executes fine if I select no results or first row but I can't get full result set to work. The query and connection string are valid. Any ideas ...Show All

  • .NET Development asp.net 2 assign queryresultset to array

    I have a query that returns all values from one field for the req_id specified I need to put the result into an array so that I can then assign individual values to textboxes. There will never be more than 8 values. Tried using dbreader but that would only take one value from field. I'm not sure since I dont know your data but I'm guessing its because you read the data early without storing it... dbReader2 = myCommand2.ExecuteReader While dbReader2.Read Request(index) = CStr(dbReader2("request").ToString()) index += 1 End While what happens now ...Show All

  • Visual Studio 2008 (Pre-release) [WCF-RC1] Security problems... :-(

    Hi there, I've been struggling the last two days to get a basic security scenario running and I wonder if perhaps someone could help me out My example is based on the "SupportingTokens" example, however I wanted to change that example to take most of it's settings from configuration, rather than from code as the example stands today. Additionally, my service is hosted in IIS (and eventually the Client will be a website too) So this is what I have done: Certificate Setup: - Created a cert called "Client" and installed it into LocalMachine/TrustedPeople - Created a cert called "Service" and installed it into LocalMachine/TrustedPeople - Granted permissions to "NetworkService" to access the PrivateKey ...Show All

  • SQL Server Real problem installing SQL Server express 2005

    When I first installed MS SQL Server 2005 Express Editon, I didn't I selected Windows Auth instead of mixed mode, so I uninstalled sql server and then attempted to reinstall. On the earlier installtion I did setup to instances which show in the "Control Panel/admin tool/services". Anyway, I used the unistall through the control panel, but on installing again it told me that I had instances aready running and needed to stop them. Couldn't work out how to do that. So after many different things, including using the MS's removal tool and windows installer clean up, I still failed. Now however I get the following error message: Setup failed because Service MSSQL$SQLExpress is disabled for the current hardware profile. Services mus ...Show All

  • Visual Studio Generating Sandcastle docs with Team Build

    I have been playing around with different methods for getting docs generated using Team Build for a while now, and I have found a rather elegant and easy to implement way to do this. First let me point out that I got this working using the December 2006 CTP of SandCastle. However, I think the concept will work just fine as the product moves towards RTM. The general concept: I use the Sandcastle Help File Builder from Codeplex - this includes both a GUI for editing doc generation properties on the client, as well as a console application for running from the build script on the server. The "project" file that the GUI creates can be hosted in a VS.Net solution (as a solution file), and therefore source controlled. And the ou ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How do I protect my code when distributing it?

    Having read the FAQ. I noticed that in order to share your game creations (and lets face it, you can't get recognised without sharing your games), you need to send the other person the entire uncompiled game. This includes sourcecode, graphics, music, sound etc. etc. They then compile the code and download it to their xbox360 account and then only if they too are on the games creation program. My key worry here is that you send them everything you have just worked incredibly hard to create. Presumably they can then send this stuff on to whoever they please and god forbid, even sell it on! It strikes me that there isn't much incentive to distribute things this way. How is Microsoft going to prevent the above scenario Is there going to be a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. PC Gamer article on XNA (and other topics)

    The Holiday 2006 issue of PC Gamer contain about a page and a half on XNA, along with Vista, DX 10, Live Anywhere, and other topics. I'm not sure what the legalities are of scanning and posting the XNA piece. Regardless, go out and pick up the issue and rejoice over the PR XNA is getting. Thanks Johnny! LOL, is it wrong to be that excited about seeing my site listed in a magazine even though I know it's only there because Google liked me the day the writer looked for sites ...Show All

  • Visual Studio 2008 (Pre-release) DragSource_PreviewMouseLeftButtonDown seems to stop my GridViewColumnHeader.Click from firing on listview

    I added Pavan's drag and drop classes to drag from a listview to a canvas. I had to modify the generic event a bit to make it work for listviews. Now I am trying to add column sorting to my listview using the example that came with the SDK. My listview sorting only works when I take the drag/drop functionality out. It seems like that functionality is blocking the click event from happening. Any ideas static void DragSource_PreviewMouseLeftButtonDown( object sender, MouseButtonEventArgs e) { // Make this the new drag source IDragSourceAdvisor advisor = GetDragSourceAdvisor(sender as DependencyObject ); if (advisor.IsDraggable(e.Source as UIElement ) == false ) return ; ListView lv = (( ListView )(e.S ...Show All

  • Windows Forms How to remove ORCA warning ICE33 ICE82 ICE69 VS 2005 Setup project

    Hello There I have created a Setup project using VS 2005 for Office add-in. Setup is created successfully without any error and warning but when I validate setup using "ORCA" its having following warnings. ICE33 WARNING Reg key _D07820B722E34B5FAC309650D805D1A2 is used in an unsupported way. ProgId should be registered via the ProgId table. This entry may overwrite a value created through that table. ICE33 WARNING Reg key _E6919C0D42774F7CA0B53A472E767196 is used in an unsupported way. ProgId - CLSID associations should be registered via the ProgId and Class tables. This entry may overwrite a value created through those tables. ICE33 WARNING Reg key _93511C827CD44164 ...Show All

  • Windows Forms Click Once publish failing

    Hello, I created an application and when I publish this is the output,. Compile complete -- 0 errors, 6 warnings WF_MonitoreoACH -> C:\Documents and Settings\levalencia\Mis documentos\Visual Studio 2005\Projects\IS_CargaMonitoreoACH\WF_MonitoreoACH\bin\Debug\WF_MonitoreoACH.exe Building WF_MonitoreoACH... ------ Publish started: Project: WF_MonitoreoACH, Configuration: Debug Any CPU ------ Connecting to 'http://localhost/WF_MonitoreoACH/'... Publishing files... Verifying publish.htm... (1 of 6) Verifying setup.exe... (2 of 6) Verifying WF_MonitoreoACH.application... (3 of 6) Verifying WF_MonitoreoACH_1_0_0_0.application... (4 of 6) Verifying WF_MonitoreoACH.exe.deploy... (5 of 6) Verifying WF_Monit ...Show All

  • SharePoint Products and Technologies Menu bar

    Can someone please show me how to remove the the Embedded Styles section that started with zz1_TopNavigationMenu. It seems to be inserted from some where which i could not figure out, and it overwriting the new styles that I inserted. When i clicked refresh several time, I can see that my new styles are applying, but with in a second it overwritten by the Embedded Styles. I'd look at the AspMenu section in the default but no hope. Many Thanks, Han Duong There are some CSS inheritance issues. If you have applied a theme to your site, these will override your styles too. And the main style sheet for sharepoint would be the core.css, which is always applied the last. There are a couple of ways to do this, ...Show All

©2008 Software Development Network