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

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

Giber

Member List

FlashFan
ukgam3r
djbjmb
t_pack
rolian
PrashantAtlanta
Dave Miles
giddy
derrickcui827
Novelle
Handerson
DexterII
Martin Moe
slein
etcheverrjc
Leon_ye
Vipin-kartik
kbenny
sobo1
Dave_AC
Only Title

Giber's Q&A profile

  • Visual Basic Cloning Listviews

    I'm wondering how to accomplish a complete clone of Listview entries, with all subitems and icon settings. Is this possible without explicitly going through all variables E.G. Listview2.entry(x) = Listview1.entry(y) The best you will do is to iterate through the list and clone the items: For Each lvi As ListViewItem In Me . ListView1 . Items Me . ListView2 . Items . Add ( lvi . Clone ) Next In order to get the images to show up properly you must set the listview2 imagelist to the same imagelist as listview1 ...Show All

  • Visual Studio Express Editions Default certificate could no be created, publish aborting

    I am trying to deploy a client server solution (C#), windows server 2003, I am using ClickOnce deployment feature, but process cancel and display error "Default certificate could no be created, publish aborting" Could you tell me what to do, I tried to create a msi file but I could not, I could not find a good tutorial Please help, Carlos ...Show All

  • SQL Server How to put different update on the same table in one query ?

    I have a table in which there are 100 of thousand of record.In on e of the stored procedure I am updating different columns in different go. Now I want's to update them in a one go. How can I do it queries in my stored procedures are UPDATE Job SET CompanyName=c.Name FROM Job j JOIN Company c ON j.CompanyID=c.CompanyID WHERE CompanyName IS NULL AND NOT ((c.Name IS NULL) OR (c.Name='.')) UPDATE Job SET CompanyDescription=left(c.Description,1000) FROM Job j JOIN Company c ON j.CompanyID=c.CompanyID WHERE ((CompanyDescription IS NULL) OR (CompanyDescription=' ')) AND NOT ((c.Description IS NULL) OR (c.Description='.' OR (c.Description=' '))) UPDATE Job SET HomePageURL=c.URL FROM Job j JOIN Company c ON j.CompanyID=c.Comp ...Show All

  • Visual C# Process the messages for ALL the applications

    In C# The WndPro method proccess all Windows messages for MY Application, but How can I make a method to process the messages for ALL the applications Thanks Thanks for your answers. I'm just looking for a way to change the cursor when it is over other application (i.e. windows calculator). I don't believe that C# can't do something that is possible in C/C++. ...Show All

  • Visual C++ About the C4430 Error

    Hi! I got these 2 function declarations in Visual C++ 2005 Express Edition CODEC_API extern AWC_decodeSwaths(AWC_Tag *tag, AWC_Image *buffer, int regionIndex, int stride, char **ptr, int *copyFunction( void )) ; CODEC_API extern AWC_encodeSwaths(AWC_Tag *tag, AWC_Image *buffer, int *regionIndex, int imageWidth, int imageHeight, int lines, int reuse_flag, int stride, char **ptr, int (*copyFunction)( void ) , int rate_flag, int goalbits); Athough all seems to be ok, the C++ compiler gives me the next error code: C4430: missing type specifier - int assumed. Note: C++ does not support default-int I know It's about the marked code, but i can't solve the problem. I hope someone can help m ...Show All

  • Software Development for Windows Vista WS-AT problem: The MSDTC transaction manager's WS-AtomicTransaction protocol service is disabled

    Hello, I have a very strange problem with the WS-AT controller. I call a simple transactional WCF service once from a WCF client and once from a Java client. When called from the WCF client, everything works fine, but when called from the Java client, I get an exception with the message "The MSDTC transaction manager's WS-AtomicTransaction protocol service is disabled and cannot unmarshal incoming transactions." From the service trace log / service message log, I have the headers of the messages sent to the service both from the wcf client and the java client. Here the headers from the WCF client: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <CoordinationContext s:mustUnde ...Show All

  • SharePoint Products and Technologies Sharepoint 2007 - Groups and Permissions

    Hi, In my site, I've created two kind of groups to access a Document Workspace.So i've customize my folders and sub-folders but i met a problem : is it possible to give an access for a person who is in both groups If it's not possible, how can i do So only a person from Group A and in the same time from Group B will be able to access the folder C. Can someone help please Thanx SharePoint will give the user the highest level of access they would have based on what groups they are in so to answer your question the only way to do this is to create a Group C for access to folder C. ...Show All

  • Visual Studio Team System CTP7 Build and Deploy Bug about Table-Valued Function

    I have tried the CTP7 Build and Deploy function. 1,I use many Table-Valued Function and and I build and deploy them. 2, I build the database for the second time, but I still get the script of these functions in the script file. even though they are exactly the same in the project and the target database 3, I compare the function using the compare schema and mare sure they are the same. 4, For simple Table-Valued Functions it is ok, it seems the build can not will go wrong on complex functions 5, Below is the one of my functions which can't be handle correctly by the build function. CREATE FUNCTION [dbo].[zqf_rest] ( @ManagerRoleID int, @UserRoleID int, @UserID int, @BeginDate datetime, @EndDate datetime ) RETURNS @ ...Show All

  • Visual Studio 2008 (Pre-release) SelfHost WCF example on 2 machines

    Hi, all ! I tried selfhost example to run different machines and client faild unless I added <identity><servicePrincipalName/></identity> to endpoint. So my questions in this case : 1) Why only "servicePrincipalName" work and not "userPrincipalName" ( this example run service as console application and not windows service ) 2) Why I don't need to add value attribute for "servicePrincipalName" in this case 3) Why I can only set end-point address as "computername.domainname" and not "computername@domainname ". When I set it on service instead of "localhost" service failed 4) How the adress will be changed for workgroup. 5) Is it possible to use ...Show All

  • Windows Forms Data grid view

    Is there a way to change or edit a existing row in a datagrid control. If there is can you give me example ...Show All

  • SQL Server Substracting MDX

    Hi, Imagine you have a Measure called MONEY, and a dimention called TRANSACTION, now in transaction you have two members, one MONEY_RETURNED and the other one MONEY_SPENT, now there are many more dimentions that I want to display but I want to display MONEY while MONEY_RETURNED is substracted from MONEY_SPENT. I have like $1000 in MONEY for MONEY_SPENT and $200 for in MONEY for MONEY_RETURNED, I wanna make MONEY not just display the MONEY_SPENT of $1000, I want to display $800. How can I do this Sorry but I'm using AS2000 and RS2003 to write the MDX for some reports, and the cube is already done, would I have to change the cube to change the rollup ...Show All

  • SQL Server Transform to remove rows from data set A that match rows in data set B on a given key?

    Hi, I have a common requirement in numerous SSIS processes to take my main input data set and to remove all rows from it that match a second input data set on a given key and output this as the main output. I also want to output (as a second output) all the rows from the main input data set that did match on the given key. However, I don't want to merge in data from the second input, nor am I interested in rows from the second input data set that have no match in the main input. E.g. If I have the following data: Main input: Key Name --- ---- 1 Steve 2 Jamie 3 Donald Second Input Key DontCareAboutThisField1 --- ----------------------- 1 ... 3 ... 4 ... Then I would ...Show All

  • Visual C++ static const member variable initialization

    Hi, I want to initialize a member variable of a class by calling RegisterWindowMessage and i want to keep this variable as static so that this variable is initialized only once during the execution of the program. When i declare the variable as static, i am getting an error which says that only const static variables can be initialized within a class. When i make the variable as static const, i get the following error - Error 11 error C2057: expected constant expression I think this is because the value i am assigning to the variable is the value which the function RegisterWindowMessage will return and this will not be a const value. Could anyone please suggest a way out of this. Thanks in Anticipation, With regards, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Post-Processing Shaders and Layers?

    I want to create 2D sprite scenes in GSE the way you work with layers in Photoshop. This is an example of a scenario of what I would like to achieve: Say, I have 2 layers of background and 1 layer of foreground. The first background layer is a sky with a sun. I want to blur this layer with a PixelShader. The second background layer is trees. This layer I also want to blur, but not as much as the layer beneath it, for a Depth of Field effect. The foreground layer contains the grassy ground and the player sprite. On top of all layers I want to put a glow effect from the sun also with a PixelShader. The glow effect should use a Glow Alpha texture that will be "deformed" by the layers, if something is covering the sun those pixel in the Alpha ...Show All

  • Visual Studio Team System Explanation of branching and normal workflow

    Can someone describe more about how branching works from a developers perspective Or is there already information about this somewhere that I haven't found This would be very useful for us coming from ClearCase / Subversion / some other version control system. What I really would like to see is an article or blogpost about how two developers working with a project/solution would do to create a branch, let one developer use this branch for a few days while the other is continuing on the normal main branch. After a few days a merge should be done. I would like to see the steps necessary together with an explanation why this is the best way to do it if there is more than one way. Suggested outline: - Assume both developers has thei ...Show All

©2008 Software Development Network