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

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

Siggy01

Member List

Joel Harris
slashblue
Glen Satuito
scyle
Delroy Ja.
mikeytj
James_Steven
David_ES
Pedro A. G. Carvalho
Worf
KSchroeder
Anand Raman - MSFT
Volksman
detzX
Mohammed Aquil
Daltongr419461
kefei
gzgzgz
chipso4
Xcel
Only Title

Siggy01's Q&A profile

  • Visual Basic I have a MediaPlayer and Upload .avi,.mpeg and other media files

    I have a MediaPlayer on Web Form.And I want to upload media files(.avi,.mpeg) and so my code any ASP.NET related questions should also be posted over at the ASP.NET forums: http://forums.asp.net ...Show All

  • Visual Studio 2008 (Pre-release) .NET 3.0 / Orcas / C# 3.0 / LINQ - I'm Confused

    Hi, I'm wondering if someone could clarify for me the relationship between .NET 3.0 (which is currently RC1) and all of this LINQ stuff we're seeing in the May CTP. I apologize if this is addressed elsewhere but I haven't been able to find it. As I understand it, .NET 3.0 is supposed to be released with Vista. C# 3.0 and LINQ will be released together as the next version of Visual Studio (AKA Orcas ), but separately from .NET 3.0 and probably well after Vista. This situation confuses me a little bit because the .NET Framework has a C# compiler built into it, right So I'm guessing that the C# compiler included in the .NET Framework 3.0 will not be able to compile C# 3.0 code (LINQ, etc.) Does that mean there will be another framew ...Show All

  • .NET Development Compiler Error Message: BC30138

    when i run(press F5) the web app in vb.net 2005, it's works ok. but when i publish the web app in localhost, (iis) something is wrong. here's the error: ========================================= Server Error in '/abc' Application. ...Show All

  • Visual C# Datagrid - unbound

    VS 2005 std. Using an unbound datagridview that has 5 columns, when columns 1,2 or 3 change I want to show the total for columns 1+2+3 in column 4. Column 5 is a tickbox, how can you tell if its ticked or not. Thanks in advance. the previous code assumed that the columns ValueType is int,decimal,decimal and decimal you can change your column ValueType to make the previous code work Or Change it as the following if (e.ColumnIndex == 1 || e.ColumnIndex == 2 || e.ColumnIndex == 3) { int colOne = int .Parse(dgvInvoiceItems.Rows[e.RowIndex].Cells[1].Value.ToString()); decimal ColeTwo = decimal .Parse(dgvInvoiceItems.Rows[e.RowIndex].Cells[2].Value.ToString()); decima ...Show All

  • .NET Development Screen Power ON/OFF

    I need to be able to power off and back on the screen from my program. Anyone know existing APIs to accomplish this Ed This works: Public Class MonitorPower Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" _ ( ByVal hWnd As IntPtr, ByVal wMsg As Integer , _ ByVal wParam As Integer , ByVal lParam As Integer ) As Integer Dim WM_SYSCOMMAND As Integer = &H112 Dim SC_MONITORPOWER As Integer = &HF170 Dim HWND_BROADCAST As Integer = &HFFFF Public Sub PowerOn() SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, -1) End Sub Public Sub PowerOff() ...Show All

  • Internet Explorer Development IE7 Problems with Active-X

    IE 7 is a great creation by microsoft but still contains a lo of bugs. I've been having a problem from the begining. I've been unable to view FLASH files in web pages (flash and webpage hosted in different servers) or when I'm able to see it, the IE gets partially hanged after loading the page. I've been havin prob especially with my profile: http://xsumitx.hi5.com Can anyone tell me what to do. The page works aweome in IE6 and Firefox Thanx I had the same problem, but I got it solved by following the direction: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=869616&SiteID=1 ...Show All

  • SQL Server Script component: copy a row into a variable

    HI, is it possible to copy a row from the Input0_ProcessInputRow into another variable of a synchronous script component. I have a script component that has three outputs. What I would like to do is the following: At first iteration, copy entire row into a variable. For the other rows, is business key cols is different from the previous row (the one copied at previous iteration) or type 2 columns : 1-direct previous row (from the variable) to second.output 2- direct current row to the first output 3- copy the current row into the variable If the business key cols are the same and type 2 cols are the same: 1-Direct row to the third output My problem is that when I declare a variable as Input0Buffer and then copy the current r ...Show All

  • SQL Server Reporting services configuration Killed several Summary Report functions

    I installed 2K5 developer on my box. I was impressed with the Summary tab report functions and the reports available there. Then I ran the "Reporting services configuration" tool to get RS running, but now several of the summary reports are broken. There are several different error messages given in the summary window, depending on the report selected. For example, the "server dashboard" now displays Summary Unavailable The information needed to display a summary page for the selected object is not available. Error: "sql_handle" is ...Show All

  • Visual Studio Express Editions Registering

    HI, I got my key by e-mail it tells me to go to visual basic then help then register but cannot find either in visual studio basic. I need help please Inside of VB Express, on the top menu you need to click "Help" and then click "Register Product...". It will ask you to enter in your key and then you are done. Let me know if you are still confused. ...Show All

  • Visual Basic Singleton-threading confusion

    Hi, My first singleton, so i have some doubts about threading issues involved. Public Class UsuRegistro Private bloqUsers As String = "bloqUsers" Public users As New Hashtable Public Function GetUsers() As Hashtable SyncLock bloqUsers Return users End SyncLock End Function Public Function GetUser(ByVal cod As Integer) As UsuObj Dim obj1 As Object = users(cod) Dim usu1 As UsuObj = DirectCast(obj1, UsuObj) Return usu1 End Function Public Sub RegistUser(ByVal cod As Integer, ByVal usu1 As UsuObj) SyncLock bloqUsers users.Add(cod, usu1) End SyncLock End Sub Public Sub DeleteUser(ByVal cod As Integer) SyncLock bloqUsers users.Remove(cod) End SyncLock En ...Show All

  • Visual Basic Generating Identity ID (integer value)

    Hi all, I known that, in is vb.net generating a GUID value by method Guid.NewGuid() is Unique. So to be generating a integer value i coded below: dim UniqueID as Integer =Guid.NewGuid.ToString.GetHashCode() I thing that UniqueID is Unique but i'm not sure, Anyone can Affirm that UniqueID is alway unique It is not. An integer can hold "only" 4 billion distinct values. Hashing is a way to map a unique value to a non-unique but denser, evenly distributed value. Two distinct values may thus easily (but not usually) produce the same hash. ...Show All

  • Gadgets Elevating privileges for WMI calls in a sidebar

    I'm trying to create a gadget that uses some WMI calls to retrieve "cooked" perf data from the WMI counters. Although the code used to work in RC1 w/o any problem, in RTM the same counter classes seem to need Admin privileges. Is there a way that a gadget can have admin privs for running I now see what you mean. The only way you'll get access to NIC information is if you're in the Administrators group - as you said. There's no way around that, and you can't elevate Sidebar or a Gadget within it. You might want to read User Account Control and WMI which goes into detail about what you can/can't do with WMI when UAC is concerned. There must be another way to get the info you require though, ...Show All

  • Visual C++ GUI Development

    Hello guys, I have a plan and i want to know if its possible using visual c++ .net 2005! Any input will be welcomed! My Plan: I want to create a GUI for a microcontroller in which i can write the codes, compile, debug, drag commands to editor windows with pop up information, bind simple data files containing parameters of the different devices i want to write codes for,make some wizards(for clock settings etc). Has anyone tried this using visual c++ .net 2005 express edition Is it Possible to do this Is there a integrated source code editor or i have to use an external one Help me... Thanks Ritchie! Can you please be a bit more specific what extra work do you expect in this regard...co ...Show All

  • Visual Studio Need help developing a COM Add-in for Word(Office XP)

    Hi all, I created a "Shared Add-in" project in Visual Studio .NET 2005 and tried to develop a simple hello world COM add-in for Word. After created the project, it automatically generated another setup project and this is good. Then I added a reference to the Word Interop Assembly in the Add-in project and confirmed that the DLL file actually references to assembly in windows\assembly folder. Since I just want to make sure that Word can connect to this COM Add-in, I simply added a statement MsgBox("hello world.") to every event that appears in the default Connect class. Then I built both the add-in project and the setup project and right-clicked on the setup project and selected "Install" to install the add ...Show All

  • Visual C# Help [Strong name validation failed for assembly]

    Hi  I have used ExeShield to protect my application. ( http://www.exeshield.com/ ) - There is no problem when i try to protect Application writen in C# .NET 1.1 - But when i try to protect Application writen in C# .NET 2.0 i get this error Strong name validation failed for assembly 'c:\lab\xshld875.tmp'. The file may have been tampered with or it was partially signed but not fully signed with the correct private key.   Any help on how to disable the Strong Name Validation   Kind Regards hi, why do you want to stop the strong name why don't you give your app strong name http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=606367&SiteID=1 as what I ...Show All

©2008 Software Development Network