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

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

aliasx

Member List

Ofir Epstein
Fositron
Dycker
Yuhang
Mr.Bean
Stuby085
Kalcy
laserbeam
Enzoe
xuyca
MayoDev
ForeverPuzzled
HWM
SpaceCadet
Barron Gillon
Tamizhan
crodude
rohan_har
GaryMcC
ihendry01
Only Title

aliasx's Q&A profile

  • Visual Basic Unable to find manifest signing certificate in the certificate store.

    Hi, I've got an error: "Unable to find manifest signing certificate in the certificate store" and have no idea what to do to r epair that. Does anybody know Szwartek, 1. To solve, I went to the "Signing" tab of the project properties and unchecked "Sign the ClickOnce manifests". The text above is from a same question post in msdn forum: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=162851&SiteID=1 2. Did you also copy the certificate with the project. Should be a *.PKF or *.SNK file in the project. You can see which certificate file it assumes is their by going to the Signing Page of the Application Designer (double click "My Project" in ...Show All

  • Visual Basic Change system time using vb.net

    Does anyone know how to change the system clock using code. I want to be able to set the date and time in my code. Any thoughts Thanks!!! :-) you need to replace the bold words as those are parameter values. In the IDE when you type code and you open the bracket "(", it will give you a tooltip explaining what overloads this class has, those overloads I put in here for you as an example. So if you just wanted to start from todays date/time then: Dim theCustomDateTime as DateTime = DateTime.Now and thats it! It will create a datetime object with the current time (system time) in a global variable. If you wanted to specify the year/month/day/hour/minute/second etc... then you fill in the ...Show All

  • SQL Server XP_CMDSHELL with variable

    Hello I want to execute the following: DECLARE @ToolsPath AS NVARCHAR ( 4000 ) DECLARE @location varchar ( 255 ) EXEC master . dbo . xp_regread 'HKEY_LOCAL_MACHINE' , 'SOFTWARE\Microsoft\Microsoft SQL Server\90\Tools\Setup' , SQLPath' , @location OUTPUT SET @ToolsPath = '"' + @location + 'Setup\Binn\sqldiag.exe" -E -O c:\sqldiag.txt -C' EXEC xp_cmdshell @ToolsPath My problem is in line EXEC xp_cmdshell @ToolsPath. It doesn't seem to accept the variable as where it works fine with the complete path I'm sure there must be a workaround or something. What am I missing Thanks! Worf Use like this SELECT @ToolsPath = xp_cmdshell ' '"' + @ ...Show All

  • Smart Device Development Can both side of menu bars popup menu items on smartphone?

    I am trying to make a menubar that can popup menu items of both side.But problem occurs:when I press the softkey separately I got the same menu item popuped! That's why Is there someone have experiences about this Please help me. Thank you! Hi, Yes, it is possible. In case you are using Smartphone style menus with RCDATA/SHMENUBAR resource in rc2 file, the image here may help you understand it better. http://avinashprasad.spaces.live.com/photos/ The basic idea shall be to not to use NOMENU options on any of the buttons. And putting the appropriate submenu index from the attached menu. For example in the image attached use 1 instead of NOMENU in the first menu to show up the "Hidden" submenu for the first button. Hope this he ...Show All

  • Windows Forms set the background color for a row in a datagridview

    Given; With Me.PropertiesGrid.Rows .Item(i).Cells.Item(0).Value = "Value" I would like to set the background color for that whole row. How do I do that Thank you, -Greg For Each c As DataGridViewCell In Me .PropertiesGrid.Rows.Item(3).Cells           c.Style.BackColor = Color.Azure Next   Regards, Kit kitg[at]microsoft[dot][-do-not.spam]com ...Show All

  • Software Development for Windows Vista Fair Isaac Blaze Advisor and WF

    Does Windows Workflow integrate well with Fair Isaac's Blaze Advisor Rules Engine for .Net. Any info or links would be of great help There is no out of box support for Blaze Advisor and Windows Workflow. However, looking at the BlazeAdvisor doc here:http://www.fairisaac.com/NR/rdonlyres/84690873-1725-4213-96C3-7D28A886987B/0/BlazeAdvisorNETPS.pdf exposes an object model which you can write against to invoke rules stored in the BlazeAdvisor repository. You could potentially put this code inside of a Code Activity in WF if you wanted to invoke rules in their system. ...Show All

  • SQL Server Newbie needing help -> poll a folder for new files

    I need to create a SQLNS app to poll a particular folder for mpeg files. When a new file (which in this case will be an mpeg video file) is dopped into the folder, I need to write some of the files metadata (filename, size, path) to an existing SQL database on the same server. I'd also like to send out an e-mail notifying that an end-user that a record was added to the database. The subscription piece (e-mail notification) seems easy enough. I'm curious about the implementation of inserting the file metadata into the database. I'm pretty new to SQLNS, so any help to point me in the right direction would be most appreciated. Thanks in advance! Hi - If it were me, I'd probably investigate the following d ...Show All

  • SQL Server adding dbo to db_owner

    Im duplicating a database by running the script below. This works fine. My only problem is that the dbo user does not by default have any role memberships in the new database hence no access. I have tried using sp_addrolemember but dbo is not a valid user for this procedure. Adding dbo to the db_owner role through the sql2005 MS works fine, but I would very much like to script this. Any suggestions --copy database use master; alter database polaris_regular set single_user with rollback immediate; DROP DATABASE polaris_regular; backup database polaris to disk = 'c:\tmp\polarisbak.bak' with INIT,format; restore filelistonly from disk = 'c:\tmp\polarisbak.bak'; restore database polaris_regular from disk = 'c:\tmp\polarisbak.bak' with ...Show All

  • Visual Studio Express Editions Getting my applications startup path

    Is there anyway to find out what directory my application is running out of I usually program in VB.net 2003 and use it's 'Application.StartupPath' but I can't find anything similar to it in C#   Thanks for the help ! By default a windows application is based mainly on forms and so contains a reference to the System.Windows.Forms namespace. A new XNA based application does not have this reference, adding it will make the forms namespace availible which contains the Application.StartupPath variable ;) adding this reference also opens up the ability to use things like message boxes too ;) ...Show All

  • Visual C# Multidimensional Arrays

    Ok, my book really sucks I think. After struggling with an example in the book, I looked in the MSDN and searched these forums. I believe my book is wrong when it shows: int[,] student = new in[4][3]; I tried doing it that way but it errors. int[,] student = new int[5,4]; gives me no error and works. I am going to go with that. Unless someone can tell me that int[,] student = new in[4][3]; is indeed a correct format or what kind of a typing error it could be... The following also seems to be in the wrong format: int[][] x = { { 2, 3 }, { 4, 5 }, { 6, 7 } }; I don't think you can do it that way... Foolios wrote: int [][] x = { new int [] { 2 , 3 , 4 }, new int [] { 5 , 6 , 7 , 8 ...Show All

  • Windows Forms Selecting text in textboxes

    Hey, I want to have the text selected when tab between them. I've tried the following but it doesn't work due to late binding. Private Sub OnEnterHandler( ByVal sender As Object , ByVal e As EventArgs) Handles textbox1.enter, textbox2.enter, textbox3.enter, textbox4.enter myTextbox = sender myTextbox.SelectAll() End Sub I know I've done this earlier but I can't figure out how I did. Please, can someone help me. I found out the trick... Dim myTextbox As TextBox = CType (sender, TextBox) myTextbox.SelectAll() ...Show All

  • Visual Studio 2008 (Pre-release) Application Download error. + XBAP

    Hi, I have hosted a XBAP on my IIS server, I have also registered MIME extensions for the WPF application in IIS. I am invoking the XBAP file from a HTML file; So when I try to access this html from another machine; it loads fine, but when it tries to load the XBAP file, it shows Application Download error. I have attached the error log with this mail. Can any one help me out PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : http://ps2480/b1/BCC_1_0_0_3.xbap Application url : ht ...Show All

  • Visual Basic network properties

    hello, i'd like to ask if it's possible to show the network properties dialog (u know, that one that u get when u click on the notification icon of the current network connection). and if it is, how could i show it thnx; You can try this api: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wnet/wnet/wnetconnectiondialog1.asp Check out http://www.pinvoke.net if you need help with the PINVOKE signature. This should allow you to pop up the network connection property for any given network connection. ...Show All

  • SQL Server Can't connect to Express Edition

    I have a huge connectivity issue that I can't seem to solve. We're using SQL Express Edition as a local data store that is participating as a subscriber to SQL Server Enterprise Edition. Perfectly valid and supported. Now the issue. I have the Express Edition on one machine connected just fine, but the other one absolutely refuses. Here is what I did for the one that connected correctly: 1. Enable remote connections for the Express Edition instance and restart the instance 2. Added the SQL Agent service account on the server to the SQLServer2005MSSQLUser$machine$SQLEXPRESS group on the local machine (yes, I want it to have that level of authority) 3. Connected to the machine with Express Edition to the network via VPN. 4. ...Show All

  • .NET Development Performance problem with DataSet.Relations.Add(...) method

    Hi, I got the idea of joining tables in the code from: HOW TO: Implement a DataSet JOIN helper class in Visual C# .NET It suggests that I add my tables to a DataSet, define the relations between these tables and using the GetParrentRow method on main table rows fill a third table that will be the result of join operation. I did so and it works quite fine. The only problem is now the performance problem. When I check the code with a profiler I find that the part that I'm adding relations to my DataSet takes lots of time. I should also mention that the tables that I'm defining the relation between has around 3000 records each. After all I'm not sure if the size of tables is important in the performane of adding relations. Here is ...Show All

©2008 Software Development Network