« first day (2416 days earlier)      last day (2530 days later) » 

12:00 AM
its okay don't panic
being real is overrated
 
12:29 AM
DON'T PANIC
 
I wasn't until you said that
 
hi sip
do you know js?
 
kinda
 
anythign with blobs?
I've heard things about your skills. Can you help me?
 
O_o
 
12:33 AM
programming skills*
 
What do you need to know
Also let it be known that I don't know anything, I'm just good at Google.
 
okay so using webrtc I am downloading files. Thats all well in good and I can put the blob url (blob:http:.........) in an a tag and add the download attribute for the file name and all is well. But using zip.js and jszip they keep saying its not a valid blob. The best I could get was the blob url in the files zipped. As in a textfile with its blob url but no content. If i try to visit siad blob urls during debugging chrome says it doesnt exist (yet can download it via teh a tag)
oh and im using zip.js because I want to zip if it s multiple files. Yes I know zipping in js is....odd
the core problem though are the fucking blobs
I tried using an xhr to download the blob content. I got that to work...I thought but it correupted the file every time
and the zip libraries wouldn't touch it
and I have googled. I even searched for "blob:http" in quotes and guess what there are like two fucking results that are relevant and written by idiots
@Sippy
 
o_o
 
what?
 
I've not had to do what you're doing before :)
And it's almost 2am and I need to sleep
 
12:40 AM
but im not a good js programmer
you are amazing
I know you can figure it out
 
l0l
I dunno who told you I'm good at JS
You're better off asking in the JS room
 
its empty...
 
It won't be tomorrow
 
I WANT IT FIXED TODAY
NOT TOMORROW
AREN'T YOU LISTENING?
 
Get googling then :P
 
12:42 AM
3 mins ago, by JABFreeware
and I have googled. I even searched for "blob:http" in quotes and guess what there are like two fucking results that are relevant and written by idiots
 
moar googoles
 
...for another hour?
 
Until the solution reveals itself.
 
sex?
you were of no help
I'm disappointed in you
 
 
4 hours later…
5:01 AM
friends any good ide i can download for c#?
 
 
1 hour later…
6:02 AM
hi
 
I am facing a problem .
Can you help me please ?
 
6:25 AM
im new at c#
so i apologize
 
whats up guys
Go head ask your questions
 
6:48 AM
I want to use VBA.Collections in asp.net project .
I have imported the VBA.dll in asp.net project .
I have also register this dll using the following command
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe VBA.dll
The output of this command is

Microsoft .NET Framework Assembly Registration Utility version 4.6.79.0
for Microsoft .NET Framework version 4.6.79.0
Copyright (C) Microsoft Corporation. All rights reserved.

Types registered successfully
But when I try to run my project I am getting this error :
Retrieving the COM class factory for component with CLSID {A4C4671C-499F-101B-BB78-00AA00383CBB} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
I do not know the reason .
I am exploring the past 2 days to solve this error but no result .
 
you are trying to work with an excel object in c#?
or this in VBA of excel @IccheGuri
 
I have created a dll written in vb6
But when I create an object of collections I have noticed that the collections is of VBA not of VB6
I do not know why .
@juanvan
 
can you post some code? what object you are trying to create
 
This is my code in vb6 :
 
you should register the dll using regsvr32 not regasm - that is for .net code
 
7:04 AM
Public Function FamIdentify(agentList As Collection, strName As String, strIdentifyTemplate As String, strIP As String) As Boolean
// will process some task and will return the boolan flag
End Function
but regsvr32 gives me error .
 
whats the regsvr error?
 
I have tried with this command in cmd.exe
 
and that function is in a public class
 
Is that creating any problem ?
 
the vba.dll is in the windows/system32 folder?
 
7:08 AM
no it is 32 bit dll
So I have kept this ddll in syswow64 folder
 
ok try putting it in the system32 folder and registering it there
 
I have tried it also
But same message comes to me
 
ok
when you made the dll did you select activeX dll from the vb6 templates?
 
VBA.dll is not made by me .
 
ok
what you need to do is check the header of the dll to see what type of assembly it is
 
7:13 AM
I have checked this
It is a 32 bit dll
 
you have the source code for the VB6 dll but don't know if it's a activeX project
 
vb6 project is a activeX project .
 
ok that is what you need for it to register in the system32 folder
 
First two things I need to clear .
VBA.dll is separate dll which is need to run for the following code in asp.net project .
VBA.Collection agentCollection = new VBA.Collection();
THen I have imported the dll formed from vb6 project in asp.net project
FamServer.FamApp famApp = new FamServer.FamApp();
fingerMatched = famApp.FamIdentify(ref agentCollection , ref name, SampleModel, REMOTE_ADDR);
famApp.Termination();
So what is the relation between VBA.dll and VB6 project ?
 
sundays
 
7:22 AM
We made it
@IccheGuri the only relationship is that the VBA.dll was written in VB6
 
But I do not have source code of VBA.dll
 
how do you know it's an activex project?
is there a document on how to use it?
 
my vb6 project is an activex project .
I do not have any idea about VBA.dll
 
oh sorry
I thought VBA was the vb6 project
@IccheGuri lets start from the top
VBA is a dll of unknown code (could be .net could be vb6 could be c++)
you want to make a vb6 app with the dll
 
hey, I wanted some advice for how do you as an experienced programmer learn a new language and technology quickly. What is your methodology
I've been programming C# and was a lead in two massive web products all in C#. Now I want to move to the FOSS languages, I tried python but have found a deep liking for Go.
 
7:36 AM
@gideon nice unicorn
 
However, with limited time in my work day I want to find a better strategy to learn Go.
thanks @juanvan
 
usually I watch a learning video on the topic
takes about 4-6hours pending what you want to learn
They go over the one offs' and usually make a simple app
 
From some reflection I notice (1) I don't enjoy doing tiny little projects any more, I like building something big, I try and do this in the new language I'm learning but eventually it gets too overwhelming and I just drop it. This happened with Python and Ruby. (2) for books what I do it get cookbook style books and type the code all by hand, never copy paste and work my way through the book. BUT the problem here is, this can be time consuming.
 
or try to find a webinar on it, or a bootcamp style youtube video
 
Good morning.
 
7:41 AM
@AvnerShahar-Kashtan o/
 
\o
 
\o
o/
Wait, I can't keep up with it coming from all directions.
 
too fast too fast
 
@AvnerShahar-Kashtan Yep! :)
 
7:43 AM
@juanvan Yea I've noticed from the last 10 years that usually without building something and going through that pain you never really know the lang/framework/api etc.
 
ya you have to hands on with it
 
exactly.
Exactly. I have my own methods.
 
I like the pluralsight hands on videos
 
But now that I have dependants and less time I'm looking for a better approach.
 
they build a project while learning
@gideon offspring are great
There is one on Go - he builds a web app
sometimes I play them at 1.5 speed with subtitles
and the sound off
 
7:48 AM
ah no I'm just married but my wife moved from europe to my country. She doesn't know the language yet so it's a but of more responsibility.
kids a little far away stil.
 
Need a pocket translator
you talk native, it changes it to local dialect, and vice vs
 
haha. The environment itself is just also very different. Either way I'm more tied up and other ideas or just want to know how many others do it.
 
@AvnerShahar-Kashtan you have any input on this?
 
What, where? On learning new technologies when you no longer have teh same time and energy to spend on learning?
Well, my input is that I've significantly reduced the number of new technologies I'm learning. :(
 
#HelpfulNotHelpful
but honest
 
7:56 AM
Well, I'm not really :( about it. It's a choice I've made, and I'm happy with my choice, to give up time spent on technology for time spent with my family.
 
+1 to that
I am spending time on new tech, it's 4am here now
I am up till 2am most nights and get up for work at 6
I trade my sleep for learning
and I have a 1 and a half yr old
 
I enjoyed the years where I spent a lot of free time learning (and blogging about it). And I enjoy these years when it's a smaller part of my life.
(And my blog has been dead for years).
 
I was thinking about blogging but eh not enough time
 
@juanvan , I am trying to use the following code in my asp.net applications :
VBA.Collection agentCollection = new VBA.Collection();
I will pass this object to my vb6 project .
 
VBA is a dll of unknown code (could be .net could be vb6 could be c++)
you want to make a .net app from a VB6 activeX dll that you are creating using the VBA.dll?
sorry trying to understand
 
8:03 AM
ok I am writing it again .
I want to use the following code in my asp.net applications
 
cool ya got me for another hour
 
VBA.Collection agentCollection = new VBA.Collection();
What should I do in order to do that ?
sorry mate
I have wasted two days in this silly problem
totally disgusting
 
you should import the vba.dll in the com section of the .net app
 
There are two VBa.dll in com section .
when I want to select any dll I am getting this error :
 
ok now we have something I can try
Why do you need that dll?
What is that collection for?
Are you trying to do something that should use an office interlop?
@IccheGuri
 
8:10 AM
What is office interloper ?
 
I'm guessing it should have read "interop". :)
 
it is an office api that lets you work with excel objects access object etc
 
Though "office interloper" has a certain charm to it.
 
it does
I have been up for 22hrs
brb smoke
 
I need that dll to access VBA.Collections
 
8:24 AM
ok reading
@IccheGuri
I downloaded the VBA.dll from
https://www.opendll.com/index.php?file-download=vba6.dll&arch=32bit&version=6.0.0.8169
I exported it to C:\program files\common files\microsoft shared\VBA\VBA6
I imported that dll to my project
 
ok I am trying
 
9:03 AM
Hello my fellow chat participants
 
chat participants, that is a new one
@IccheGuri how did that go? I am about to take a nap
 
@juanvan
I cannot add vba6.dll assembly .
 
yar
 
Herre is the screenshot
I do not know the reason .
 
that is strange
what version of VS are you using?
 
9:15 AM
2015
 
I am on 17 Community
what type of app did you select for the template
MVC? webforms?
 
I have two vba present in com reference . Here is the screenshot .
 
trying it in 15
 
How can I remove these two vba ?
Maybe the presence of these two vba can be the reason .
 
na that is not the problem
they are just registered with the gac
 
9:18 AM
ok
I am new to C# and asp.net
...
 
Not the GAC. These are COM components.
They're just registered.
 
How to unregister them ?
 
There are two versions there - 4.2 and 6.0. Might have been different versions of Office, or Office and Visual Studio 98.
I wouldn't unregister them. It might break things.
 
ok
If these are registered then why visual studio shows error in this line ?
VBA.Collection agentCollection = new VBA.Collection();
 
Honestly, though, I wouldn't download and register random COM DLLs like that. If you're trying to interface with an existing app, chances are it has already registered what it supports.
 
9:23 AM
Here is what I did to get it to work
I am going to take a nap napperson
good luck
 
If these are registered then why visual studio shows error in this line ?
VBA.Collection agentCollection = new VBA.Collection();
 
9:43 AM
@IccheGuri What's the build error?
Also, wait, are you calling a VB6 app or a VBA app?
They're not the same.
 
No
I am calling this code from a asp.net project
VBA.Collection agentCollection = new VBA.Collection();
The build error is " The type or namespace 'VBA' could not be found . Are you missing an using directive or an assmbly reference ?
 
But your target application, is it VBA? Remember, VBA is the subset of VB that's hosted inside Office applications.
 
my target application is an website
I cant understand your words
 
You're trying to call a VB6 component from a .NET process, right?
 
Yes
From an asp.net project I am trying to pass a list to a function in a dll written in vb6 which contains collection object
 
9:52 AM
And you're trying to pass a collection between them.
 
yes you are right
 
I don't know how you ended up with VBA.Collection, but VB6 is not VBA.
And there's no reason to assume that VBA.Collection will work there.
 
But see the prototype of function :
Public Function FamIdentify(agentList As Collection, strName As String, strIdentifyTemplate As String, strIP As String) As Boolean
But when I want to call this function from asp.net project here is the parameter it expects :
 
9:56 AM
Ok. If you have the Interop.VBA PIA assembly, use that - don't add a COM reference to VBA.
 
Public Function FamIdentify(agentList As Collection, strName As String, strIdentifyTemplate As String, strIP As String) As Boolean
This code is defined in vb6 project
 
Fine. Have you added a reference to Interop.VBA to your .NET app?
 
But surprisingly this collection object is of VBA
 
Yeah, probably because it's part of the subset of VB that's also VBA
 
Yes I have added reference to Interop.VBA to your .NET app
 
9:59 AM
Ok. And it still won't compile?
 
No still it shows build error
 
" The type or namespace 'VBA' could not be found . Are you missing an using directive or an assmbly reference ?
Ok I am giving a screenshot
 
@IccheGuri And have you added a using directive?
 
No
Is there any shortcut to auto use using directive ?
 
10:03 AM
VS will suggest them if it can guess which is necessary. Resharper too, a bit more aggresively.
What's the line that shows the error?
 
VBA.Collection agentCollection = new VBA.Collection();
 
And what's the namespace the Interop.VBA contains for its types? Maybe Interop.VBA?
 
I want to know the namesapce .
ok trying with Interop.VBA?
 
Go to View -> Object Browser.
 
ohaio gozaimus
 
10:08 AM
@misha130 yo
 
I am not finding interop.vba.dll in object browser .
 
And you can see it in the project's References list?
 
Oh, ASP.NET webpage. Ugh.
I don't know if sitting in the bin folder constitutes a reference.
 
This cannot be that difficult, it must be documented
 
10:22 AM
 
OR
you can't
 
 
2 hours later…
12:20 PM
man I really wish C# could have this "option1" | "option2" for declaring strings
so I could write public "text1" | "text2" SomeVar {get;set;} instead of public string....
like typescript
 
What does it do in typescript? Constrained types?
 
yes
so when you do a set it automatically gives you the only two available options
 
what are enums
 
not strings?
 
@milleniumbug Enums are numbers. Using them to enumerate possible strings is clunky.
Doable, but clunky.
 
12:26 PM
well that's because Enum.Parse and friends are clunky, not because of anything else
still, a type that's limited to several values is an enum
 
@milleniumbug A solution for this would be enums with non-numeric backing types, but that's a big (and breaking) change.
 
can't you just write something like StringlyEnum<T> or sth
 
Not with compile-time checking, I think.
 
and the point is compile time checking
 
Look the question please: stackoverflow.com/q/44226556/3851967
 
12:32 PM
actually the most closely elegant way to do this rather than enum is maybe structs
or simply a static class
its all very meh
 
conceptually new StringlyEnum<T>(T.text1) and new StringlyEnum<T>("text1") aren't so different, except with the former actually has type checking
 
is this T a class?
and not a primitive
 
I have still no idea why are we gripping over "this is an enum, not a string". one can converted from the other
are you planning to store spaces there or
 
forget it
I only wanted to comment how it would be really simple with type constraints
 

« first day (2416 days earlier)      last day (2530 days later) »