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

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

Jun_1111

Member List

aabukar
Raffaele Rialdi
Thomas Schneider
llorrac
Mateusz Rajca
BD_Elektrona
GreatDane
mattii
DRD32206
js123
Chris49
Rups11
Venkatram
Whoisit
sunil_sg
arielito
Enkht
amisole
Mardo
VSFW3
Only Title

Jun_1111's Q&A profile

  • Software Development for Windows Vista Using wimgapi.dll with VB6 - WimApplyImage causes VB6 IDE to freeze?

    I'm writing some code to use the wim imaging api wimgapi.dll with VB6. The code works 100% on capture, with the callback function correctly getting progress information and updating my form with progress bar etc. This works fine when run from within the IDE or from the compiled .exe. The apply image code is a problem though - the WimApplyImage code locks up the IDE part way through. When run from the compiled exe, I get no progress messages to the callback - I do get all the process messages though, and it actually works in that it correctly applies the image, but it stops updating my form until it exits the WIMApplyImage function. Anyone have any ideas I've tried registering the callback both immediately before the WimApplyIma ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Scanlines in 2D

    I'm cerating 2D game and wondering how to implement scanlines effect. For now i'm using simple .png image colored with scalnines patern and transparency - i simply draw this sprite in front of all other of my sprites, but since the texture is big and uses transparency it seems slow and i have large framerate drop when i'm using it. So i'm asking for help - is there may be other ways to create this effect Thanks. you could try using a screen aligned quad with a shader that does the scanlines, however I have not tried this myself but it should work. ...Show All

  • SQL Server Optimizing Query to Run

    I'm trying to get a query to run which looks at completed orders that have not had another paid order in 180 days. The database I'm running it against is very large so I can't get it to complete. Where's what I've got: select Date =cast(cl1.cl_rundate as datetime(102)),count(cl1.cl_recno) as 'Completed Initials', cl1.cl_status as Status from dbo.vw_Completedorders cl1 where cl1.lob_lineofbusiness = 'aaa' and cl1.cl_rundate > '20060801' and not exists ( select cl2.cl_company from dbo.vw_Paidorders cl2 where cl2.lob_lineofbusiness = 'aa'and cl2.cl_company = cl1.cl_order and cl2.cl_rundate > '20060101' and datediff(day,cl2.cl_rundate,cl1.cl_rundate) < 180) group by cl1.cl_status, cl1.cl_rundate ...Show All

  • Visual Studio Tools for Office Outlook: MAPI fields versus User Properties

    Hi, I want to improve an outlook addin which is using mapi fields (a lot) and this is generating abnormal behaviors in outlook, so now I'm in doubt to quit all use of mapi fields fo User Properties but I need some recomendatios or comments about using "mapi fields vs user properties" (or viceversa). Thanks, Mauricio. .NET languages have no support for accessing MAPI properties in versions prior to Outlook 2007. Therefore, the UserProperties collection would be the supported approach. What kind of behaviors are you seeing as abnormal ...Show All

  • Windows Live Developer Forums Windows MSN Live Sign-In/Reinstallation Issue

    Help!!!It is not a week that has passed since MSN Live Messenger started not to work properly.To be specific,I couldn't sign in and what I was getting was a fatal error that MSN Live messenger had to be terminated.So,I decided to reinstall it.I went to messenger.live.com and I downloaded the Install_Messenger.exe and when I executed the *.exe it extracts some files and then I get an error saying that either I run Windows in Safe Mode(untrue) or Windows Installer is corrupted.I press OK and then I get a warning message that the error has code 1603.After that,I've re-installed Windows Installer Ver.3.1(downloaded WindowsInstaller-KB893803-v2-x86.exe).This,however,yielded no result.Then,I started to search microsoft's databases que ...Show All

  • Visual FoxPro First try at updatable views - Help!

    OK - So I'm trying updatable views now. I have a table with a few fields but there is no primary key. I've created an updatable view, and I'm getting some update conflict errors. I was wondering what's the proper way of doing this: Do I need to have a primary key in the table Should I create an autoincrementing field for that purpose Thx. >> Do I need to have a primary key in the table Absolutely! However it need not be a single column, nor does it have to be an autoincrementing integer. You can define your primary key as any combination of fields that uniquely identifies a record within a table. The easiest, and best (for lots of reasons) way it to use a "surrogate&qu ...Show All

  • Visual Basic Moving a form.

    Hi there, Currently in my application I have made it so I have no form border. I have put in my application.exit and minimize code but I'm wondering what the code is to move the form around ONLY when pressing down on a button/control. Thanks, AliQ This thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=977043&SiteID=1 shows how to do it with a picture box. Just replace the picturebox name with your button. ...Show All

  • Visual C++ error LNK2019: unresolved external symbol

    Hello, I have been learning C++ just for a month. I tried to write a code which uses an external xmlParser. My code is: #include "stdafx.h" #include <vector> #include <windows.h> #include <malloc.h> #include <string> #include <iostream> #include <stdlib.h> #include "xmlParser.h" #include <fstream> //The matrix is defined, it is max 1000*1000 #define MAX_COLS 1000 #define MAX_ROWS 1000 using namespace std; // In the firts part of the program the main data structure are build. Those are interview, person, union. An interview consists of many // persons and unions. struct Union {     int partners[3];     int nPartners;     int offsprings[10];   ...Show All

  • SQL Server Instead Of Trgger Marked Not For Replication Kills After Trigger

    Kill may be overdramatic, but... I am te sting a merge publication with a push subscription.  The publication contains a single table.  That table has an INSTEAD OF UPDATE trigger marked NOT FOR REPLICATION and an AFTER trigger that needs to go off during replication. During Synchronization neither trigger goes off.  If I drop the instead of trigger the after trigger will go off.  What is going on Thanks, Thanks for looking at this. Server version = 9.00.1399.06 And the triggers looked fine. I looked at them on the Subscriber after synchronizing. The instead of triggers marked "NOT FOR REPLICATION" keep the after triggers from going off during sync on both the publication db and t ...Show All

  • SQL Server Preview has data but no columns returned

    In my SSIS package, I connect to an external SQL server database. This external database supports a stored procedure that I need to execute to "retrieve data". So in my package, I set the DataAccess Mode property of my OLEDB datasource to "SQL Command" and I provide the command EXEC <proc_name> <Param>,<output_param>. (The proc has an output parameter). The preview shows all the columns and data, but somehow no columns are returned....so when I try to link this data source to a copy column task, I get an error saying the source does not have any columns...any idea why this could be happening. Thanks - Manmeet Manmeet Panigrahi wrote: ok...now there is a new twist to the tale. I just foun ...Show All

  • SQL Server Absolute beginner - How do I carry out a STANDALONE install of MSSQL EE 2005

    Help!!! I want to install SQLExp2K5 with Advanced Services on a standalone basis on my Dell Inspiron XPS laptop (Win XP sp2, .NET 2.0; 2gb RAM; 8mb broadband; hardware firewall/router) so that I can learn SQL/VB/VWD, and want to use SQL E 2K5 without internet connectivity (at least until I know what the hell I'm doing!) Really confused as to what component(s), and services I should/should not install - so I've listed my questions below: 1. Service Account : As I'm not on / dont have a domain, i presume using a domain user account is not an option for me. Should I use the Local Service account If so, what are/can be the issues in doing so 2. Authentication Mode : Is Windows Authentication the one to use for a standalone instal ...Show All

  • Software Development for Windows Vista Problems with Filewatcher in EventHandlingScope

    The problem is that when i use the filewatcher in the eventhandler for my eventhandlingscope, I have to copy a "wakeup-file" to the drop-folder in order to make it work. After that the workflows runs as expected. (WF samples can be downloaded at: http://go.microsoft.com/fwlink/ LinkId=73348 ) The problem can easily be reproduced by using the Sample FileWatcher Activity: Add an EventhandlingscopeActivity and drag event1 into it. View eventhandlers, add an eventdrivenActivity and drag event2 into it. Add a codeactivity with a WriteLine, for debugging purposes. remove event3 and the ListenEvent. If we now drag a file into the "temp2"-folder, the CodeActivity wont execute the first time, but if we drop ...Show All

  • Visual C# How to insert a paragraph?

    I'm very new to VS.NET C#. I'm creating a simple app. to launch a flash tutorial. In the form, how do I insert a paragraphc explaining what this app. is going to be I tried the Lable control but it does not give me multi-line option. What do I need to use Thanks! I see. So MS decided to make developers edit their texts on the Properties Window then. Imagine you have a whole paragraph, it's tedious and hard to edit the texts on the Text property. I guess I will have to use the code behind to edit the texts then. Thanks! ...Show All

  • SQL Server DTExecUI - Package Execution Utility Error

    Hi, when i deploy my package using the DTExecUI thru the Package Execution Utility.when we execute the package . we are getting the following error. The Product Levelis insufficient for component "Flat File Source(1)" the package design is FlatFileSource ----> OlEDBDestination what could be the solution for this Thanks Jegan You need to install SSIS on this machine. Most likely you've installed Workstation Components, but to run packages outside of designer environment you need to install SSIS (separate checkbox on one of first setup pages). ...Show All

  • Microsoft ISV Community Center Forums vlookup

    Hello can anyone help me with how to write the excel vlookup function in vba the function in excel looks like this VLOOKUP(O2,'[Consolidated list of supplier.xls]Sheet3'!$A$5:$F$218,6,FALSE) how can i get something similar working in a macro. thanks namrata Hi, How about some like this Dim rngLookupValue As Range Dim rngtable As Range Dim lngColIndex As Long Dim blnRangeLookup As Boolean Set rngLookupValue = Range("O2") Set rngtable = Workbooks("Consolidated list of supplier.xls").Worksheets("Sheet3").Range("$A$5:$F$218") lngColIndex = 6 blnRangeLookup = False vntResult = Application.WorksheetFunction.VLookup(rngLookupValue, rngtable, lngColI ...Show All

©2008 Software Development Network