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

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

smalamas

Member List

Coggsa
Robert A. Swirsky
SoopahMan
DaveSmith
SQLServer2050
Greg McPherran
mae ann
ssmorgan
A Pham
grepe
suryany
yanyee
Stefan Ghose
jheddings
Kevin Hoffman
matt01
EagleBeek
KeeperMustDie
BJTaylor
DanSoper
Only Title

smalamas's Q&A profile

  • Windows Forms user Control default event

    hi I have created a userControl. is it possible to set an event as a default event. because when I double click on my control, default event is Control_Load and I want to change it to something else like double click or click.   Hi, use DefaultEvent attribute on a class level to set usercontrol's default event: [ DefaultEvent ( "KeyPress" )] public partial class UserControl1 : UserControl { ... Andrej ...Show All

  • SQL Server SQL 2005 Analysis Service blocked by Zone alarm

    SQL 2005 Analysis Service blocked by Zone alarm when trying to load new data mining structures I have given every program related to SQL rights that I can think of. If Zone Alarm is up, BI Studio will freeze up loading data mining structures. If Zone alarm shut down no issues. No logs anywhere about program being blocked. Any ideas My only other thought would be that maybe it is not any of the SSAS ports that are being blocked, but it may be the SQL Server (or what ever relational data source you are using) ports. It does not sound good if it still blocks even when you turn off all the filtering. Tracing might give you some more hints as you might see it "sticking" on particular operations. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. opacity

    Hi, I exported a simple 3d cube from 3dsmax to a FBX file.The material assigned to my cube is simply a green color with an opacity value of 20. It's rendering fine with 3dsmax. Under XNA, I get a solid cube, it's not using my opacity value. Do I need to create my own shader or I must simply enable a switch somewhere I'm currently using the sample code (basiceffect, ...) for displaying my objects. thanks Luc Blog / Woxxom ...Show All

  • Visual C++ A strange error

    I have been working on a simple pathfinding program using the A* algorithm. I originally started using std::priority_queue and std::list for the open and closed lists respectfully. Then I got this error message during debug. http://adamwlarson.com/pictures/errormessage.JPG So I switched to a LinkedList class and and created a function that orders them in the correct order, but no luck I still get the same error. The next thing I tried was adding a logging class so I could track through the program since all my attempts at debugging didn't work. I found out the path is being found everytime, so the algorithm works. Oh I forgot to mention I have to run the program in Release mode since I get that error above anytime I run the debug ver ...Show All

  • Visual C# Sort Strings with Numberic and Text

    Hi all I've search the web for string sorting, and I've tried all the confentional ways of sorting. I need help in sorting a strings contraining numbers and text. Here is an example I did to see if SortedList won't work. The number will alway be infront of the letter. string [] sArr = new string [] { "01A" , "10A" , "02A" , "01B" , "06B" , "22A" , "0A3" }; SortedList < string , string > sortedList = new SortedList < string , string > (); foreach ( string s in sArr) { sortedList . Add(s, s); } foreach ( KeyValuePair < string , string > kvp in sortedList) { Console . WriteLine(kvp . Value); } ...Show All

  • Internet Explorer Development Dont Fire NewWindow3 when new TAB is opened by CTRL+T.

    Our team have made a synchronous tools for IE( http://www.syncplus.net/en/ ). Recently, I am doing an upgrade for IE7 in Vista RC1, but have a problem about the NewWindows3 event. The NewWindows3 event is fired by the following case. 1)Choose the "Open in New Tab" command from a link's shortcut menu. 2)Click the link with the middle mouse button. 3)Click the link while holding the CTRL key. But can't be fired by the following 1) CTRL+T 2) Directly click the empty tab. Would you like give me some advise thank you. I sink the DWebBrowserEvents2 in my Toolbar. AtlAdvise(m_pIWebBrowser2, m_pUnk, DIID_DWebBrowserEvents2, &m_dwCookie); I can receive the NewWindow3+NewWindow2 ...Show All

  • Visual Studio 2008 (Pre-release) O/R Frameworks and private vs. protected visibility - please use protected

    Hi there, I have a general request to the LINQ team as well as the Databinding Teams. As a VSIP Partner we are always extending the MS Frameworks - just like the company customers do. Therefore it would be helpful if private members could be changes to protected members. Thank you very much. I understand your desire to modify the framework. Unfortunately, exposing implementation details like this is difficult since it increases the testing cost and impares our ability to fix or modify the implementation in future releases. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Drawing order of primitives

    Hi all, I am drawing semi-transparent view-aligned slices to create a smoke effect. The slices are fullscreen quads with increasing z from 0 to the end of the view frustum. Inside the vertex shader I do the inverse projection of the slice corners using the inverse of world*view*projection. I pass these coordinates to the pixel shader, where the effects are created procedurally based on the interpolated coordinates. Here is the piece of code which draws the slices: for (int sliceIndex = 0; sliceIndex < SliceNumber; sliceIndex+=slicesPerCall) { int currentSlices = slicesPerCall; if (sliceIndex > SliceNumber - slicesPerCall - 1) { currentSlices = SliceNumber - sliceIndex; } d3dDe ...Show All

  • Visual Basic Editing Listview subitem contents

    Hi all, Hope someone can help me with this. I have a Listview (details view) with 5 columns. It looks like I can only edit the first column text (with labeledit=true) as the listview control won't let me select the text in the other columns. Is this a limitation in Listview or am I missing something Should I use the DataGridView control instead Thanks in advance. I just did a quick test and changed the column names right in the IDE: (Maybe I missed what you were asking..) Part of the InitializeComponent: Private Sub InitializeComponent()         Me .ListView1 = New System.Windows.Forms.ListView         Me .ColumnH ...Show All

  • Software Development for Windows Vista Bug with Vista and InkAnalyzer

    Hello everybody, this is the real Problem of the thread I posted some hours ago. I had problems with painting ink into a Bitmap - I could'nt see any ink. But it was no problem of the painting-prodecure itself - there really was no ink. ;) Before my program draws the ink into the Bitmap it reads the RecognizedString from the used InkAnalyzer. And since Windows Vista this InkAnalyzer works abnormal - it deletes every stroke out of the InkOverlay-Object whenever I call the GetRecognizedString-Method of the InkAnalyzer. This happened not when running under Windows XP. Is this a known bug Or is it a feature ;) Well, no. I guess it's a bug. Is there any workaround beside not using this method anymore Will there be an upda ...Show All

  • SQL Server Enquiry: SQL Server Connection

    Good day all, i apologies if i wrong open thread. firstly, i want to know the differentiate between using Windows Authentication & using SQL Server Authentication for SQL Server connection purpose. Any impact for replication process if using one of selection from enterprise manager: database-name - Management - SQL Server Agent (right-click, Properties) - click Connection tab. Thanks. hi ChenHeng-- Windows Authentication is Considered more secure as compared to SQL Server Authentication, for the replication this is the same, i mean go for the Windows Authentication (this is in my opinion, as i too implemented the merge replication) Regards, Thanks Gurpreet S. Gill ...Show All

  • Visual Studio Tools for Office selecting no in a save changes msgbox for ms word 2k3

    I and running a prog that is running events on several thousand files. I am unprotecting the document pulling what data I need and then just closing the file. I do not want to save it as I should no longer have a use for it. I'm trying not to collect a few extra thousand files that I will probably dont need. Here's the issue: I'm closing Word with the usual word.application.quit() but I get the so you want to save any changes to this document. I want to be able to automate the "NO" for all the 4000-5000 documents. Anyone have a any ideas Any help is greatly appreciated!! Thanks in Advance!!! If you read the Help on Words Quit method you'll notice a parameter named SaveChanges. Pass the correct value to that and th ...Show All

  • SQL Server Proclarity reports

    Hi, all Thank you very much for your kind attention. I encountered a problem with Export ProClarity reports. The problem is: under the 'Export' option, there is not 'Export to business reporter' . Other options like: 'Export to reporting service', 'Export to PowerPoint', 'Export to outlook' are available. Can someone please tell me what the issue is. Thanks in advance, Mita This is an separate option on the install page for ProClarity Professional. Have a look at the startpage when you install professional. HTH Thomas Ivarsson ...Show All

  • .NET Development ArrayList

    hi, I have arraylist : public ArrayList parametri; I want to put 3 values in it and write that values in console application, how can i do this Thanks Hello dev, here you go.. ArrayList parametri = new ArrayList(); parametri . Add( "one" ); parametri . Add( "two" ); parametri . Add( "three" ); foreach ( string item in parametri) Console . WriteLine(item); Emeka Awagu ...Show All

  • Visual Studio Team System Locked for check-out error on rename but lock status not shown by tf status command.

    I'm working with Microsoft Visual Studio 2005 Team Explorer Service Pack 1 (KB918525) against Visual Studio Team Foundation Server Service Pack 1 (KB922996) using SQL Server 2005 Standard Service Pack 1. While attempting to rename a file I was presented with an error dialog indicating "The item [item:omit] is locked for check-out by [user:omit] in workspace [workspace:omit]." At the time, I was working with Source Control Explorer in a different workspace so I switched workspaces to the one indicated in the error and attempted to undo pending changes. However, there were no pending changes. So I dug out a command line and ran the following tf status [item:omit] /workspace:[workspace:omit] /format:detailed /recursive ...Show All

©2008 Software Development Network